Last active
February 5, 2020 06:04
-
-
Save kushal-r/f41474a1827699d99247e1a83d753e79 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 remote add upstream git://github.com/kuroy/github-services.git | |
| $ git fetch upstream | |
| # then: (like "git pull" which is fetch + merge) | |
| $ git merge upstream/master master | |
| OR | |
| # or, better, replay your local work on top of the fetched branch | |
| # like a "git pull --rebase" | |
| $ git rebase upstream/master | |
| $ git push | |
| DELETE REPO | |
| git branch -rd origin/bugfix | |
| git push origin --delete bugfix |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment