GitHub
Jump to navigation
Jump to search
GitHub hosts distributed version controlled code repositories (repos) and static websites. It can be used for any type of file but only text and image files can be compared for differences. It hosts open source projects for free.
Since 2018 GitHub is a subsidiary of Microsoft.[1]
First time creating a repository[edit | edit source]
- If you don't have one already, create a GitHub account.
- On Windows install Git for Windows
- Right click on an existing project folder to use as the repository, select
Git Bash Here
and enter Git commands in the terminal window. - Generate a new SSH key and add it to the ssh-agent.
- Add the SSH key to your GitHub account.
- Add the existing project to GitHub.
Cloning a project from a repository[edit | edit source]
- Entering commands in a Git Bash shell window.
- e.g. for the 4ms Company KiCad libraries,
git clone https://github.com/4ms/4ms-kicad-lib
- To update at a later date do
git pull
See also[edit | edit source]
References[edit | edit source]
- ^ Microsoft has acquired GitHub for $7.5B in stock, TechCrunch, 4 June 2018
External links[edit | edit source]
- GitHub workflow
- GitHub, Wikipedia