Saturday, April 4, 2015
Git: How to add all untrackable file in command line?
You can try either of the following:
Reference: http://stackoverflow.com/questions/3498035/git-add-all-files-modified-deleted-and-untracked
git add -A
Warning, starting git 2.0 (mid 2013), this will always stage files on the all working tree.
If you want to stage files that are only under the current path of your working tree, then you need to use:
If you want to stage files that are only under the current path of your working tree, then you need to use:
$ git add -A .
Reference: http://stackoverflow.com/questions/3498035/git-add-all-files-modified-deleted-and-untracked
Subscribe to:
Posts (Atom)