Git commit -a “untracked files”?

后端 未结 7 2097
慢半拍i
慢半拍i 2020-12-12 13:54

When I do a git commit -a, I am seeing the following:

  # Please enter the commit message for your changes. Lines starting
  # with \'#\' will          


        
相关标签:
7条回答
  • 2020-12-12 15:00

    You should type into the command line

    git add --all
    

    This will commit all untracked files

    Edit:

    After staging your files they are ready for commit so your next command should be

    git commit -am "Your commit message"
    
    0 讨论(0)
提交回复
热议问题