Skip to content

Instantly share code, notes, and snippets.

@lucmann
Created November 17, 2019 07:50
Show Gist options
  • Save lucmann/0b6c2a7446e40bd629d269c782432314 to your computer and use it in GitHub Desktop.
Save lucmann/0b6c2a7446e40bd629d269c782432314 to your computer and use it in GitHub Desktop.
alias for git
alias ga="git status -s | grep '^ M' | awk '{print \$2}' | xargs git add" # dont add the new files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment