Skip to content

Instantly share code, notes, and snippets.

@teitei-tk teitei-tk/file0.txt
Created Oct 17, 2014

What would you like to do?
俺俺Gitのalias&ワンライナー集 ref:
restart = reset --hard HEAD
$ git restart
delete-items = !git status | grep deleted: | awk '{print $2}' | xargs git rm
$ touch
$ git commit -a -m "first commit"
$ rm
$ git delete-items
$ git commit -a -m "remove :"
delete-add-items = !git status | awk '{print $1}' | xargs rm -rf
$ git branch | grep hoge | xargs -I % git branch -D %
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.