Created
June 13, 2012 19:54
-
-
Save jackdempsey/2926081 to your computer and use it in GitHub Desktop.
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 rm `git status | grep deleted | cut -f2 -d: | xargs` |
j, i still haven't used that paste command ever. had to man it up to even have a clue about it
nice adam, i don't use awk nearly enough.
even better:
alias gst='git status'
alias grm="gst | grep deleted | awk {'print \$3'} | xargs git rm"
grm and done ;)
totally, i definitely use gst, and also gco, gba, ga, and a whole slew of them. i love me some aliases :-)
Ahh, now I get paste. I think I used to do that with vim and split panes. I like, thx for the tip!
OK great. I wasn't sure if you didn't understand paste or the anonymous fd's. The "here fd" trick is wild to me. I changed my github account name (to essentially fake being an org) and got all confused.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Same thing?