1. git stash
把本地修改过的代码 暂存在栈中
2. git pull
更新远端服务器代码到本地
3. git stash pop
将栈中的代码合并到代码中
4.git add
提交本地代码到暂存区
5. git commit
代码从暂存区提交到本地仓库
6. git push
文件从本地仓库提交到远程仓库
1. git stash
把本地修改过的代码 暂存在栈中
2. git pull
更新远端服务器代码到本地
3. git stash pop
将栈中的代码合并到代码中
4.git add
提交本地代码到暂存区
5. git commit
代码从暂存区提交到本地仓库
6. git push
文件从本地仓库提交到远程仓库