How to commit and push all changes, including deletes?

前端 未结 6 952
渐次进展
渐次进展 2021-02-02 15:53

How to commit and push all changes, including additions, editions, and file deletions etc in one command?

6条回答
  •  甜味超标
    2021-02-02 16:13

    Use the following commands-

    1. git add -A to add all files new files, changes and removed files.
    2. git commit -m "Your message" to save the changes done in the files.
    3. git push -u origin master to send your committed changes to a remote repository, where the local branch is named master to the remote named origin

提交回复
热议问题