Skip to content

Instantly share code, notes, and snippets.

@niqdev
Created March 4, 2016 16:52
Show Gist options
  • Save niqdev/a5227ab4ae405e33f386 to your computer and use it in GitHub Desktop.
Save niqdev/a5227ab4ae405e33f386 to your computer and use it in GitHub Desktop.
apply changes to my forked repo after pull request
cd redux-timeout/
# lists all remotes
git remote -v
# add another remote (SSH)
git remote add gpfunk git@github.com:gpfunk/redux-timeout.git
git remote -v
git fetch -p
git branch -a
# remove local branch used for pull-request (remote branch already deleted)
git branch -D remove-actions
git branch -a
# fetch other remote
git fetch gpfunk
# apply changes from remote to master
git checkout master
git rebase gpfunk/master
git push origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment