Borgström

Code, images & ramblings of Evan Borgstrom
Founder of FatBox, hacker, dj, lover of pickled foods & all around nice guy.

Hit me up

  • Flickr
  • Google Plus
  • Linkedin
  • Twitter
  • Website
  • Ask me anything
  • Archive
  • RSS
  • Mobile

Nov
08

What to do when you lock yourself out of gitolite?

Today, during some reorganization of my ‘keydir’, I accidentally locked myself out of RW access on the ‘gitolite-admin’ repository.

Doh!

Here was my general steps for recovery, with gl-admin-push being the secret sauce. These need to be run as the user that gitolite is running as.

  1. mkdir /tmp/fix-gitolite
  2. cd /tmp/fix-gitolite
  3. git clone ~/repositories/gitolite-admin.git
  4. cd gitolite-admin
  5. vi conf/gitolite.conf
  6. … fix stupid oversight …
  7. gl-admin-push
  8. cd ~
  9. rm -fr /tmp/fix-gitolite

And now I can read & write to the gitolite-admin checked out on my workstation.

6 months ago

  • 4 notes
  • Comment

Recent comments

Blog comments powered by Disqus

Notes

  1. recruitmentwe0 liked this
  2. carp89d liked this
  3. borgstrom posted this
Permalink
  • git
  • gitolite
  • locked out

1 of 1 Pages

  • Previous post
  • Next post

Recent Updates

  • Loading tweets...

  • Follow @EvanBorgstrom

Blogs I follow

Copyright © 2011 — Evan Borgstrom
Nova Theme created by Style Hatch

  • Archive
  • RSS feed
  • Mobile