GitHub code management-at will, github code at will
The company has been using SVN for project management. at ordinary times, it has struggled with Git. Here is the simplest record of GitHub...
Creating a repository on git is free of discussion. There are also many tutorials on the Internet, which are recorded directly after creation:
Adding images to the readme file on github will not be introduced. It seems to have been recorded in miscellaneous 8.
The project management process is as follows:
I. Install the github client and corresponding configurations:
1. Put a link to the github client: GitHub
2. Follow the prompts to install the tool. Some options can be ignored or selected based on your needs.
3. The desktop version of github is displayed as follows:
Next, we will mention the following points:
A. For example, check the highlighted key in settings. If it is gray, it indicates that the SSH key has not been configured and github cannot be used normally.
B. SSH key configuration method
Click generating SSH keys as shown in. On the displayed page, click Checking for existing SSH keys to check whether an SSH key exists. The steps here are very detailed and I will not stick them together, if yes, click add your SSH key to the ssh-agent and follow the instructions in the document,
$ Ssh-add ~ /. Ssh/id_rsa. Replace the id_rsa id with your own id.
After all, you will find the key turns green.
2. manage projects
1. Click "+" and select the repository you created on github under clone (my name is Domy-SegnentCustom in the figure)
2. Then, the files on github are cloned to the local device.
3. Open a folder. For example, drag your project to the folder:
4. Open the github client. You will see that my no changes is because I submitted it before.
5. Fill in the description information remarks (such as init update) in the summary in the green box, introduce the description, and click commit to master to submit the description.
6. After the submission is successful, click sync synchronization in the upper right corner.
7. Everything is okay. use github to manage your project.