Browse Source

git命令1

e 1 year ago
parent
commit
e255dd78a5
1 changed files with 13 additions and 1 deletions
  1. 13 1
      day36/命令.md

+ 13 - 1
day36/命令.md

@@ -10,7 +10,19 @@ git config --global user.name "xiaolan"
 # 配置邮箱
 git config --global user.email  2717110178@qq.com
 
-# 拉取项目
+# 克隆项目
 git clone 拉取的项目路径
 
+## 提交过程
+# 拉取代码
+git pull origin master(分支名)
+# 提交代码
+git add .
+# 添加备注
+git commit -m 'fix:内容'
+# 推送代码
+git push origin master(分支名)
+# 暂存区
+git status
+
 gitee github