Last active
August 29, 2015 14:08
-
-
Save nitecoder/97e988af88b9b058e5e8 to your computer and use it in GitHub Desktop.
Git Goodies
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
# This creates upstream branches for all breanches in original repo | |
git remote add upstream https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY | |
# Don't we need to do fetch? | |
# In branch to merge | |
git checkout develop | |
git merge upstream/develop | |
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
See http://stackoverflow.com/a/2016954/1713948 | |
git config --global alias.ahead "log origin/master..HEAD --oneline" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment