Jenkins Git plugin generated the below command in console output based on my ref spec
What's the difference between below 2 commands? Their output looks little different. I have given their output below:
Command 1:
git fetch --no-tags --progress repo.git +refs/heads/qa:refs/remotes/origin/qa --depth=1Output:
From <repo> * [new branch] qa -> origin/qaCommand 2:
git fetch --no-tags --progress repo.git refs/heads/qa --depth=1Output:
From <repo> * branch qa -> FETCH_HEADWhat does FETCH_HEAD here mean?
I believe
refs/heads/qais local working copy of 'qa' branch andrefs/remotes/origin/qais remote 'qa' branch. But, what does this convention imply?+refs/heads/qa:refs/remotes/origin/qa