git , git . - du , , , . , - , . , , hardlinks, -... .
, , , ? script git contrib git-new-workdir ( git.git), , .git - , HEAD. script - , git:
git new-workdir <original-repo> <new-workdir-path>
Voila! .git, , , . , !
, , - . , - , . !
, , . . , ( ! , !) .
. - , . git log branchA..branchB. - , . ? 1000 ? ? . .
- ? , , , git-clone refspec ( --mirror, , ). , , , , :
mkdir foo && cd foo && git init
git remote add origin <url>
git config remote.origin.fetch "+refs/heads/foo:refs/remotes/origin/foo ..."
git fetch origin
- , master, .
, , , . , , . , , , (.. ), .