I have being using Git for version control since I began my study 6 weeks ago. I am finally beginning to understand its more advanced functionality.
As I am now working on two different computers, I needed to figure out how to coordinate repositories between them.
This is what I did.
- Setup a remote repository on Github.
- On my computer, create a directory and initialize an empty repository.
3. Link the local repo to the remote repo.
$ git remote add origin <repo address>
4. Then, add new files from local computer, commit, push.
(Note to self, don't forget!)
Comments
Post a Comment