`

git push and git pull the different of the path

阅读更多
reset remote branch

git fetch origin
git reset --hard origin/master




#git fetch uses:

        refs/heads/<head>:refs/heads/<branch>
#git push uses:

        HEAD:refs/heads/<head>





remote config


 [remote "<name>"]
                url = <url>
                pushurl = <pushurl>
                push = <refspec>
                fetch = <refspec>

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics