I'm new to git
and GitHub. This far, I managed to setup my environment so that I can push commits to GutHub via the git
program.
I own two computers, which share files using Dropbox. That's where I keep my development projects too. What I wanted to know is: is there a way to use git
, GitHub and Dropbox altogether?
I read guides to use git
and Dropbox without stepping through GitHub.
In a practical example:
say I am in a project folder on my laptop (the project folder is on Dropbox). I git push origin master
and everything goes fine, updated on GitHub.
Now on my desktop I have the updated files, synched via Dropbox.
Should I git pull
the most recent version from GitHub anyway?
Edit
Lots of people think I'm asking how to use git
along with Dropbox. I'm not.
What I'm asking is how to keep your work inside Dropbox, use git
anyway and still be able to push to GitHub sometimes.