Last active
August 29, 2015 14:10
-
-
Save pedrorvidal/06a790fdf21f099a43aa to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #GIT# | |
| git checkout -b branch-name master | |
| git status | |
| git add <some-file> | |
| git commit | |
| git push -u origin branch-name | |
| git checkout master | |
| git pull | |
| git diff | |
| git merge --no-ff branch-name | |
| git push origin master | |
| #Comandos úteis# | |
| git branch -d branch-name ==>Delete local branch | |
| git push origin --delete branch-name ==>Delete remote branch | |
| git rm $(git ls-files --deleted) ==>Files deleted |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment