Showing posts with label Version Control. Show all posts
Showing posts with label Version Control. Show all posts
Tuesday, September 13, 2016
Tuesday, May 5, 2015
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
Monday, March 9, 2015
If you want to specify the path to git.exe and are using GitHub for Windows
You can find it from the path like:
C:\Users\<username>\AppData\Local\GitHub\PortableGit_<numbersandletters>\bin\git.exe
Reference: http://stackoverflow.com/a/16127984/3534219
C:\Users\<username>\AppData\Local\GitHub\PortableGit_<numbersandletters>\bin\git.exe
Reference: http://stackoverflow.com/a/16127984/3534219
Subscribe to:
Posts (Atom)