Skip to content

Instantly share code, notes, and snippets.

@dpsmith
Last active March 22, 2018 12:08
Show Gist options
  • Select an option

  • Save dpsmith/8c889f17c38516c0ab116823505f05a4 to your computer and use it in GitHub Desktop.

Select an option

Save dpsmith/8c889f17c38516c0ab116823505f05a4 to your computer and use it in GitHub Desktop.
Git: add only untracked files
echo -e "a\n*\nq\n"|git add -i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment