1,clone

git clone https://github.com/KoMiles/helloword helloword

2,pull

git pull

3,commit

git commit -m '*update file' 

4,git push

git push https://github.com/KoMiles/helloword(远程目录) master(本地目录)

5,git 放弃本地修改 强制更新 

git fetch --all
git reset --hard origin/master

相关文章: