git基础知识总结
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
git reset --hard origin/master
千里之行,始于足下。改变现在,就是改变未来。改变未来,从现在开始。