- Clonar un branch: git checkout -b <new_local_branch>
- Push a un nuevo branch: git push -u origin <new_branch_to_push_central>
- Clonar un branch externo en local: git branch --track <branch-name> <origin/branch-name>
- Log de Git: git log
- Regresar a un commit anterior: git branch branchname <sha1-of-commit>
- Crear un branch a partir de un commit anterior: git branch branchname HEAD~3 (Numero que especifica cuantos commits for debajo del ultimo commit)
- Merge Tool: git config --global merge.tool kdiff3 (Recomiendo este merge tool, primero se tiene que instalar)
-
-
Save juankiz123/9347073 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment