I have two computers; one at work and the other one at home. I have two local repos on each of them connecting to central repo. Is it possible to have a remote between two local repos without interfering central repo? The central repo belongs to the company and I dont want to push to it until the feature is done according to Atlasin git tutorial. It should be doable
Asked
Active
Viewed 111 times
-4
-
dropbox (or other) your working folder. – DevDonkey Apr 22 '15 at 15:37
-
If you can access your two computer through ssh then you can do it the way it is explained in that Atlasin git tutorial. – SiggiSv Apr 22 '15 at 15:38
-
@SiggiSv: May you explain more, please? Adding remote is like git remote add name URL – Ali Saberi Apr 22 '15 at 15:51
-
@MattHolbrook-Bull: It's a nice suggestion but not professional one – Ali Saberi Apr 22 '15 at 15:54
-
@AliSaberi IF you have `ssh` access to your two computers then you can do it using the URLs you use when accessing those two computers. If you don't have `ssh` access to those two computers then it can't be done. – SiggiSv Apr 22 '15 at 16:33
1 Answers
-1
If I understand you correctly, you need two or more repos, for that use git-remote.
There's already a question about this here, so you may find more info there.