Git Help

Posted by ExiaHuang on March 24, 2017

一目了然的说明图

git-help

Git pull 强制覆盖本地文件

1
2
3
git fetch --all
git reset --hard origin/master
git pull

拉取代码

1
2
3
cd D:\Exia.Workspace\myproject\SalesforceXyTools-Chrome
git fetch origin master
git pull origin master

更新git服务器代码

1
2
3
git add . -A 
git commit -m "fix"
git push origin master