Skip to content

Instantly share code, notes, and snippets.

@ttscoff
Created January 18, 2013 01:08
Show Gist options
  • Save ttscoff/4561444 to your computer and use it in GitHub Desktop.
Save ttscoff/4561444 to your computer and use it in GitHub Desktop.
One liner for adding/removing git changes quickly
alias gitar='git ls-files -d -m -o -z --exclude-standard | xargs -0 git update-index --add --remove'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment