I am to lazy to git add/git reset files one by one. And I don't know how to do this.
Tried git add -A (found on the internet). But It have added all "new files" to the index.
How to revert it back, keeping modified files?
Asked
Active
Viewed 50 times
0
4esn0k
- 8,765
- 7
- 30
- 40
-
3Possible duplicate of [How to remove local (untracked) files from the current Git working tree?](https://stackoverflow.com/questions/61212/how-to-remove-local-untracked-files-from-the-current-git-working-tree) – Marc Feb 28 '19 at 12:49
1 Answers
-1
git add . will add a whole current directory with all files and subfolders
Mateusz Gruszczynski
- 1,360
- 9
- 17