Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am setting up git server on linux Debian and I want for all of my repositories to be saved on external disk (usb disk drive). How can I acomplished that?

share|improve this question
2  
see stackoverflow.com/questions/2129214/… –  Sirex Jan 13 '13 at 19:00

1 Answer 1

up vote 0 down vote accepted

Just place them all there. OTOH, it makes litle sense, as they won't be accessible when the external drive isn't plugged in.

git repositories are just plain directories full of normal files, that can be backed up, copied and moved around at will. What I do with my really important stuff is to have an external repository (on another machine I have set up a bare git repository for the project) and now and then I push any changes over (OK, around once a day). Others that I share are also on a local git server will all bells and whistles. Same idea as before, changes are regularly uploaded,

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.