Last active
September 21, 2017 15:16
-
-
Save ju-la-berger/65b999a219ef731fd9b5550c72b37357 to your computer and use it in GitHub Desktop.
How to commit untracked files one by one
This file contains 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 ls-files --others --exclude-standard | while read filename; do git add "$filename" && git commit --message="Add new file '$filename'"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment