How to add multiple files to Git at the same time

后端 未结 10 643
半阙折子戏
半阙折子戏 2021-01-29 18:12

This will be my first git use. I have added new files ( a lot ) to the folder/project ( git local repository).

I went through online tutorials and forums and see i can do

10条回答
  •  臣服心动
    2021-01-29 18:16

    Use the git add command, followed by a list of space-separated filenames. Include paths if in other directories, e.g. directory-name/file-name.

    git add file-1 file-2 file-3
    

提交回复
热议问题