推送代码
git add .
git commit -m "new"
git push origin master
git status
拉取代码
git pull
error: The following untracked working tree files would be overwritten by merge:
强制拉取覆盖本地
git fetch --all
git reset --hard origin/master
git pull
推送代码
git add .
git commit -m "new"
git push origin master
git status
拉取代码
git pull
error: The following untracked working tree files would be overwritten by merge:
强制拉取覆盖本地
git fetch --all
git reset --hard origin/master
git pull