Created
March 27, 2014 04:53
-
-
Save kazuho/9800525 to your computer and use it in GitHub Desktop.
switch from master to wip, then undo the switch
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 status | |
# On branch master | |
nothing to commit, working directory clean | |
$ unco record --log=/tmp/unco.log git checkout wip | |
Switched to branch 'wip' | |
$ git status | |
# On branch wip | |
nothing to commit, working directory clean | |
$ unco revert --log=/tmp/unco.log --run | |
$ git status | |
# On branch master | |
nothing to commit, working directory clean | |
$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment