Archivo de la categoría: GIT

Git: Getting the commit number & removing files after add -A

Getting the commit number: git rev-parse –short HEAD git reset Removing files after add -A git reset <namefile> (I know that this is easy for you, but I needed to write it here. My notebook is not accessible from Internet) … Seguir leyendo

Publicado en GIT | Deja un comentario

Git: Saving your changes when a push is not possible and a pull is required

In the case: git add -A git commit git push origin master git reset –soft HEAD^ (Deleting commit) git stash (Saving our changes in a stack) git pull origin master git stash pop (recovering the changes from the stack) git … Seguir leyendo

Publicado en GIT | Deja un comentario