Adding Only Untracked Files

前端 未结 11 1943
傲寒
傲寒 2020-12-07 07:04

One of the commands I find incredibly useful in Git is git add -u to throw everything but untracked files into the index. Is there an inverse of that? In the la

11条回答
  •  半阙折子戏
    2020-12-07 08:00

    git add . (add all files in this directory)

    git add -all (add all files in all directories)

    git add -N can be helpful for for listing which ones for later....

提交回复
热议问题