Last active
August 29, 2015 14:06
-
-
Save kktuax/ec73a2e49e4dce542023 to your computer and use it in GitHub Desktop.
Git Snippets
This file contains 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 checkout -b feature_branch_name | |
# edit files, add and commit ... | |
git push -u origin feature_branch_name |
This file contains 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 clone [email protected]:My/fork.git | |
git remote add upstream [email protected]/repo | |
git fetch | |
git checkout stable | |
# sync original branch | |
git fetch --all | |
git merge upstream/stable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment