Understanding .git/
Post date: Apr 17, 2017 2:37:14 PM
Explaining .git/config
The format of the refspec is an optional +, followed by <src>:<dst>, where <src> is the pattern for references on the remote side and <dst> is where those references will be written locally [1].
[remote "origin"] url = https://github.com/longle2718/signpost fetch = +refs/heads/*:refs/remotes/origin/*
[remote "upstream"] url = https://github.com/lab11/signpost fetch = +refs/heads/*:refs/remotes/upstream/*
[branch "master"]
remote = origin
merge = refs/heads/master
[branch "acoustic_event_detector"] remote = origin merge = refs/heads/acoustic_event_detector
Expanding .git/refs/ contains
* heads(branches)/
* remotes/
* tags/
[1] https://git-scm.com/book/id/v2/Git-Internals-The-Refspec