Git for Electronic Circuit Design by Altay Brusan & Aytac Durmaz

Git for Electronic Circuit Design by Altay Brusan & Aytac Durmaz

Author:Altay Brusan & Aytac Durmaz
Language: eng
Format: epub
ISBN: 9781484281246
Publisher: Apress


Create a Repository in GitHub

The first step to create a repository in GitHub is to have an account. After creating an account and successfully signing in, we can create a new repository.

Figure 3-2Create repository dialog in GitHub

By clicking Create repository, the basic repository creation form shows up.

Figure 3-3Create a new repository dialog in GitHub. An empty sample1 repository with no readme, ignore, and license files is created

It is a good practice to assign the project or product name as the repository name. Public repositories are visible to the world, but private ones are just accessible to the invited community. In this demo, we have made the “sample1” repository public so that the readers could see its contents. We can create automatically generated readme, gitignore, and license files by checking their corresponding check boxes; however, the more preferred practice is to add them in separate commits. In this way we can manipulate each file separately. Having a well-documented readme file is very useful for open source projects, because users can learn about the project using the readme contents. Providing a suitable license file (e.g., CC-BY-3.0, gpl, lgpl-2.1, etc.) is very crucial for open source projects: first, it protects the author’s legal responsibilities; second, a good license agreement could protect the author’s credit and financial profits from their contributions in open source projects.

In GitHub each repository has a unique access link. We can use this link to clone the remote repository or connect to the remote repository to send data into it (Figure 3-4). For normal applications the HTTPS communication protocol is good enough; however, in secure environments the SSH protocol is preferred.

Figure 3-4GitHub repository link access. We can access a GitHub repository using either HTTPS or SSH



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.