3
I have created a GIT clone on my backup NAS:
git clone --bare //NAS/GIT/TexRepo //backupnas/backup/GIT/TexRepo.git
Now, continuing to work on the regular repository, what is the best way, practice to have, in order to keep my clone updated?
Do I need to run this command daily? I read somewhere I can edit the push command, is that the solution?
Thanks, is it possible to make that automated? I mean, on any commit, that the change will be also pushed? – Saariko – 2011-09-15T12:08:16.647
You can't
pull
into a bare Git repository, you have topush
commits into the bare repo. – Stacey Richards – 2011-09-15T13:12:28.333@StaceyRichards: I messed up. I meant fetch. I fixed my answer. – lesmana – 2011-09-15T14:58:16.140