How should I best sync a GitHub repo that is also synced on Dropbox between two computers?
I had an old computer that does not power on, which had a GitHub repo that was also a Dropbox folder (so everything in it was backed up to my Dropbox).
I now have a new computer, which after I synced to Dropbox, has the entire repo. However, it is not linked to my GitHub Desktop (i.e. my GitHub Desktop application does not recognize it).
Is there a way to make GitHub Desktop recognize the Dropbox folder on my new computer as a Git repo and sync to GitHub?
So you are saying the best bet in this case is to delete the folder in Dropbox and clone it from GitHub fresh?
What you can push in Dropbox is a bundle (using the git bundle command): that will be one file (easy to synchronize), from which others can clone/pull from: it acts as a "remote".
Plus, it won't include your local configuration (which might have sensitive information)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With