Github account fulfilled by clones host all your code there
Table of Contents
Nowadays Git is a standard option to host your code and share it among collaborators. Seems like the best way to introduce it is to show how to get a copy of some project on your hard drive for further scrutiny, development, tests, adjustments etc.
The definitive guide how-to do this meta-task is at the official Git documentation site.
Of cause you need git installed on your host.
git version 2.10.2
Browse at Github
seeking something interesting to you and get the link for your particular repo like this:
Open terminal tab
cd /usr/local/share/DVCS/ # it's path for all repositories on my hard drive # git clone https://github.com/0--key/org-pub.git # uncomment the string above for the actual git clone ls org-pub
Seems like repository cloned into org-pub folder and all files are inside.
We got the local version of some interesting repository hosted on Git. It allows the arbitrary operations on a personal clone, and, if you're previously accepted as a collaborator, even to contribute to project.
It's a usual approach to share access as a collaborator to well-known persons. And it is a habitual treatment to organize software development among the team members - a team leader creates a repository on Github and grants access as a project collaborator to them. For security reasons all other persons aside from those, whom was formally invited by the project owner, has a restricted read-only access to the project's files by default.
But what about to obtain improvements and corrections from the completely unknown developers?
It's time to go further and cope with Git fork technology.
blog comments powered by Disqus