Here is my situation. I keep a set of files on both my laptop, and a server. I already have a sync setup between the two locations using rsync. Recently I decided that a certain part of these files should be under source control. I am using git
for this.
So I have shared/
which I sync using rsync. Then I have shared/stuff/
which is under git control. I will be using git from both locations on the repository that is local. I only work with one copy at a time, and I always sync the files back and forth.
I am the only person dealing with these files, and these two locations are the only places these files exist. The only reason I have git
is because just today I accidentally deleted some code, and couldn't get it back.
So my real question: does rsync
do anything that will break git
? Or vice-versa?
Edit: For those that are curious, the reason I am using rsync to sync instead of git, is because I already have a great system for keeping the shared/ folder synced, and would like to keep the git repository in it.