0
當我運行Git的複式LS-遠程
$ git ls-remote [email protected]:bar.git
我得到
6826f9697d4b887a0eaa1aaf9338dee23569970a HEAD 90ff949b16803724913bb85a72e57c4e5d4c4625 refs/head/master 6826f9697d4b887a0eaa1aaf9338dee23569970a refs/heads/master
它看起來像裁判/頭/主不應該存在,它正在搞亂我的部署與capistrano,因爲它正在檢查它找到的第一個主。我如何檢查它包含的內容並將其刪除?
這很奇怪,卡皮斯特拉諾甚至看到'refs/head/master'。任何理智的方法只能找到'refs/heads/master'。 – Cascabel 2011-04-15 01:28:10