1
還有就是按照git remote show
混帳推/合併配置
git remote show origin
remote origin
Fetch URL: https://[email protected]/path
Push URL: https://[email protected]/path
HEAD branch: master
Remote branch:
master tracked
Local branch configured for 'git pull':
master merges with remote master
Local ref configured for 'git push':
master pushes to master (up to date)
輸出,其中Local branch configured for 'git pull':
和Local ref configured for 'git push':
配置?
我有'push.default'沒有設置('git config --list push.default | grep push'不返回任何內容)。使用'git checkout --track'創建的分支顯示在'git remote show'的push部分中,而使用'git checkout -b local_name remote_name/br_name'創建的分支未顯示在該部分中。不過,我看不到配置之間的任何區別。 Bot分支具有遠程和合並參數設置,沒有別的。我錯過了什麼? – 2012-08-16 03:12:38