O
O
ODY2014-05-15 17:39:50
git
ODY, 2014-05-15 17:39:50

How to synchronize development on 2 computers using git?

I have 2 computers at home, a desktop and a laptop, sometimes I work on one or the other, both are turned on at the same time, smartgit is installed locally, but how can I make sure that the data can be synchronized, at least manually? Win7 is everywhere.
Upd: over time, I wanted to turn a stationary PC into a server where production would be located, and on a laptop, for example, a dev branch, so dropbox is not suitable.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
I
Igor Vorotnev, 2014-05-18
@ODY

I have a similar scheme, a desktop with Win7 and a laptop with Ubuntu. I keep projects in private repos on Bitbucket.org, and then everything is simple - git pull / git push, etc. If access to the Internet is not 24/7 (which is unlikely), then you can raise your Git server on one of them (preferably a desktop).

N
Nikolai Vasilchuk, 2014-05-15
@Anonym

Put the project in Dropbox.
If dropbox doesn't work, create a repository on bitbucket and store the code there.

K
kompi, 2014-05-15
@kompi

Specialized git hosting a la github/bitbucket, or your own server with a bare repository. If you need whistles with a web face on your server - gitlab, etc.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question