On 29 October 2014 12:06, <bal...@olacabs.com> wrote: > I have deleted a branch accidently but on my dashboard in browser I am > able to see older commit when I browse code through that older > commit 6a82ae77f61d6e5b97b366ae0366b0fed9150ee0 I am able to see the code > but no way to download it. How can I download the code. Please tell me? > > If Gitlab doesn't let you restore the branch, and you don't have a clone where that commit previously existed, you might be able to rsync the bare repo or its satellite from your Gitlab server, then simply checkout the lost commit and create a branch from it. Hopefully Gitlab didn't trigger garbage collection after it deleted the branch (git doesn't normally destroy it right away, but it will be permanently deleted during garbage collection).
Hope this helps. -- Tom Bamford *@Planet* ATPLANET (Pty) Ltd atplanet.co.za Cell: +27 (0)79-095-7112 Fax: +27 (0)86-599-1310 -- You received this message because you are subscribed to the Google Groups "GitLab" group. To unsubscribe from this group and stop receiving emails from it, send an email to gitlabhq+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/gitlabhq/CAAnNz0PWkdpXUzYXZkcMex5i-gg%3Dv9Y9QGBxJkAwv9789V0vUw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.