This is a problem that hard to describe (and of course hard to search for answer), the closest that I found is Moving two existing already-synced directory trees to git annex
I have two copies of my document text files, one on a desktop Linux machine, one on a laptop. Previously, I run
rsync periodically to keep these files in sync both ways. I'd now like to move management of this problem to
git, but was wondering what the cleanest way to start would be.
I've put files on my desktop into a remote
git server, following the instructions on the web. That was fine. Now the problem to me is on the laptop side. I.e., I already have a half synced files and folders on my laptop, and I don't think the commonly suggested
git clone would be the proper answer to my situation, would it?
Say that the files and folders on my laptop are already out of sync with my desktop's, both ways. What would the proper steps to get my document text files back in sync using
git with my already-setup remote