标签:
git clone git@10.0.0.xxx:/xxx/xxx/xxx.git
git fetch
git pull
git add -A
git commit -m "说明"
git push
git checkout 具体路径 (直接删除之前记录,从新开始)
git checkout -- 具体路径 (用来恢复本地误删操错)
git status
git diff
git reset --hard 路径 用远程文件覆盖本地文件
The following untracked working tree files would be overwritten by merge 出现的解决办法就是cleanup:
git clean -d -fx
标签:
原文地址:http://www.cnblogs.com/JD85/p/4708168.html