Last active
February 7, 2019 06:27
-
-
Save thomelane/02d32342258d0aaf3a7f48314063f6a3 to your computer and use it in GitHub Desktop.
Git Commands
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
# Rename branch (local and remote) | |
git branch -m new_name | |
git push origin :old_name new_name | |
git push origin -u new_name | |
# checkout PR on github | |
git clone https://github.com/apache/incubator-mxnet.git | |
git fetch origin pull/13647/head:lipnet | |
git checkout lipnet |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment