Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Setup, publish and backup git repositories on windows and network

Tags:

git

I'm using msysgit for my embedded project. Local repositories are great, but I also like to have repositories on our network disk:

  • it provides daily backup
  • my changes are visible for everyone

I have been trying to get the best of both worlds by doing the following:

  • working on a repo on my local disk (faster building, always latest uncommited files with me)
  • committing very often (always nice with fine granularity)
  • cloned the local repository to the network disk
  • doing a fetch from the network repository every now and then (at every startup with help of a batch file, every few commits when I don't restart).

I'd be very interested in knowing how other users set up their msysgit repos, how they publish, how they backup, on so on.

And of course, I'd appreciate someone telling me I'm doing it the wrong way :)

like image 584
Gauthier Avatar asked May 19 '09 11:05

Gauthier


1 Answers

We have been using github for a while on an online ruby on rails project.

We clone, change, commit to our local repos and once sure we push.

like image 165
Konstantinos Avatar answered Nov 15 '22 07:11

Konstantinos