Git - Repo and Tools
Git tips
Clone
Clone repo by git, it works when the index file is not corrupted
git clone <repo>
You can clone the repo also by wget when all files are accessible
wget -r http://domain/.git
Detect changes in your local git repository
git diff
Browse
Browse the git repository manually.
URL/.git/config
URL/.git/HEAD
URL/.git/refs/heads/master
URL/.git/objects/xx/hash # where xx is 1 first byte in hex of the hash
git cat-file -p <hash>
Create repo
git init
copy objects into the /objects directory under first byte hash subfolder
Last updated
Was this helpful?