Git常用命令

来源:互联网 发布:p51h战斗机数据 编辑:程序博客网 时间:2024/06/01 07:21

从远程仓库克隆到本地

git clone git@github.com:gruntjs/grunt-contrib-connect.git


添加到缓存区

git add *


将代码提交到head,并添加提交信息

git commit -m "提交信息"


推送到远程仓库

git push origin master


更新本地仓库

git pull










0 0
原创粉丝点击