我有點混淆什麼git team-fetch在分配git中做什麼? 我在某處看到過這樣的命令。git中的「git team-fetch」命令是做什麼的?
該命令是否將branch1代碼讀入NewBranch?
git team-fetch xyz branch1:NewBranch
我有點混淆什麼git team-fetch在分配git中做什麼? 我在某處看到過這樣的命令。git中的「git team-fetch」命令是做什麼的?
該命令是否將branch1代碼讀入NewBranch?
git team-fetch xyz branch1:NewBranch
看看你的〜/ bin文件夾中有一個叫做「git-team-fetch」的腳本。我直接從文檔中找到它:
Git enhancement - Fetch branches from other team members repositories
This script extracts the current URL from origin and tries to find
the one mapped to a user. e.g. if the user enters for an application repo:
git team-fetch user mybranch
the real git command would look like:
git fetch [email protected]/$application.git mybranch
謝謝@DieselPower :) –
這個命令從哪裏來的?這是一些奇怪的擴展包嗎? –
這是項目特定的,我在sarvesh的同一平臺上工作;)所以這是沒有問題的,應該在stackoverflow上詢問,應該在特定的聊天室中詢問;) – DieselPower
你使用的是什麼版本的'git'?據我所知,'git team-fetch'不是一個有效的命令。也許這是你機器上的別名? - 您可以使用'git config --get-regexp^alias \ .'來顯示所有別名。 –
我正在使用v2.6.2,並試圖啓動git config --get-regexp^alias \。它給我顯示錯誤:參數錯誤數 –