git常用命令

来源:互联网 发布:coc弓箭女皇升级数据 编辑:程序博客网 时间:2024/06/15 09:37


(1):git clone 


(2):git  commit -m "  "  如果提示 “Changes not staged for commit:”  先 git add *.*


(3):git push   如果提示 “Updates were rejected because the tip of your current branch is behind”


先用视图工具 ,先配置下  username  和 email  如果下图


Edit - Option





force push 如下图:



(4): git push 



原创粉丝点击