wlanboy
Content Contributer
You do not need to run a git server to share a git repository between different stations.
I like to separate strage & sync from the version control. You might see the advantage if you migrate from svn to git.
You only need 4 steps to create a Dropbox or OneDrive [insert your storage provider here] synced git repro:
Done.
Try a "git log" and you will see that everything git-like is working.
	
			
			I like to separate strage & sync from the version control. You might see the advantage if you migrate from svn to git.
You only need 4 steps to create a Dropbox or OneDrive [insert your storage provider here] synced git repro:
- Create git repro
 
 git init --bare ~/OneDrive/gits/wlanrepo.git
 
 
 
- Add git to your project (the project should not be on your Dropbox/Onedrive)
 Code:cd ~/projects/sites/wlanboy git init git add --all git commit -m “Initial commit of project wlanboy"
 
 
- Add the git repro as remote
 Code:git remote add origin ~/OneDrive/gits/wlanrepo.git
 
 
- Push everything to your remote repro
 Code:cd ~/projects/sites/wlanboy git push --set-upstream origin master
 
 
Done.
Try a "git log" and you will see that everything git-like is working.
 
				 
 
		