Skip to content

Bare Repos

rtyley edited this page Aug 24, 2011 · 12 revisions

By default Agit makes bare Git repositories when you clone new repos. This is for speed, because the 'checkout' step is unfortunately quite slow, and for some use-cases of Agit you don't actually want to see the current files in your repo, you just want to see the project history and the diffs for each commit.

If you DO want to have your repo's files checked out (so you can actually use them!), make sure you uncheck the 'Bare' checkbox when you're setting up the clone:

Note that due to Issue 37, checkout is currently only performed for the initial clone - subsequent fetches (like hitting the 'refresh' button, or sync) don't update the files - I'll be releasing a fix for this shortly.

Clone this wiki locally