Skip to content

Instantly share code, notes, and snippets.

@ChaiBapchya
Created April 4, 2020 03:48
Show Gist options
  • Save ChaiBapchya/534712c1eac620f020ccb267ddc404f6 to your computer and use it in GitHub Desktop.
Save ChaiBapchya/534712c1eac620f020ccb267ddc404f6 to your computer and use it in GitHub Desktop.
Commands to rebase master for MXNet
git remote add upstream https://github.com/apache/incubator-mxnet
git checkout master
git fetch upstream master
git merge upstream/master
git push origin master
git checkout <branchname>
git rebase master
git push -f origin <branchname>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment