Last active
July 24, 2016 21:46
-
-
Save mkczyk/beed8f73bab78333598d 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
## Commit | |
``` | |
git add . | |
git commit -am "msg" | |
git push origin master | |
``` | |
## Zmiana aktualnego brancha | |
``` | |
git checkout nazwa_brancha | |
``` | |
## Zmiana nazwy brancha na remote | |
Najpierw pobrać commity z remote | |
``` | |
git checkout old | |
git pull | |
``` | |
Zmiana nazwy lokalnie, usunicie i dodanie pod now nazwą: | |
``` | |
git branch -m old new | |
git push origin new | |
git push origin :old | |
``` | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment