Created
February 2, 2017 07:32
-
-
Save musaprg/e497def942a5305fd3d83002869e1da3 to your computer and use it in GitHub Desktop.
gitでdeletedしちゃったやつを全部checkoutするワンライナー
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
git status | grep deleted | awk '{print $2}' | while read line ; do git checkout $line ; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment