Here is my situation. I have a computer which cannot connect to the network. I have created a repository of it's code on our remote bitbucket instance (using my laptop). What is the easiest way to implement version control in a situation like this?
This is what I was thinking and have done so far.
- The master is on the remote bitbucket instance (point A)
- I have cloned master onto an external hard drive (point B)
- I have copied the .git folder from the hard drive onto the target machine (point C) at the root directory of the code (just like in the hard drive clone)
What's the best way to go about making commits? Let's say on the target machine I change some code and commit to that local repo. How can I then sync that with the hard drive repo (so that the local machines commits are latest) and then in turn sync that to master on the remote server?
Am I answering my own question in terms of the strategy of this?