How can I commit files with git?

前端 未结 9 1736
慢半拍i
慢半拍i 2020-12-07 12:21

None of the tutorials will help!
They all do that thing where they just assume I know what to do..

Currently, my terminal window starts with..

#          


        
9条回答
  •  清歌不尽
    2020-12-07 12:28

    It looks like all of the edits are already a part of the index. So to commit just use the commit command

    git commit -m "My Commit Message"
    

    Looking at your messages though my instinct says that you probably don't want the cache files to be included in your depot. Especially if it something that is built on the fly when running your program. If so then you should add the following line to your .gitignore file

    httpdocs/newsite/manifest/cache/*
    

提交回复
热议问题