Assistant training summary (Task IV: proficiency in the use GitHub and Git)

First, to understand and use Git commands

After these two days together before learning Git project, Git deeper impression, but still at a basic level of use.

Plus previously wrote a blog git use, there are also simple to sum up.

git clone

File for the branch on Github clone (the default master) eg. Git clone https://github.com/Jason98w/Summer.git 

Files can also be used git clone -b branch name eg. Dev clones branching is the case of git clone -b dev https://github.com/Jason98w/Summer.git

git branch 

To view the name of the branch's general use git branch -a

git checkout

For handover branch eg. Git checkout dev handover branch dev

git add 

To add files to the repository generally add a git. All files will be added to the local library (note that this is a small point, added to the repository in the future, in order to perform push operation)

git commit

General use git commit -m "Notes content" eg. Git commit -m "First" (later use commit to push)

git push

The native code is transmitted to the github

git pull

The code on github got me to a local warehouse, it may be a conflict (this is a bit less clear) as well as merge operation is also not clear

 

Check out some of our collection of sites in the learning process, to when you can share with the students to learn git.

w3cschool the git tutorials:  https://www.w3cschool.cn/git/

The method of creating a branch of the git  https://www.cnblogs.com/juncaoit/p/9349374.html

Use git commit code to GitHub   https://www.cnblogs.com/taohuaya/p/10295962.html

In the process of learning git, a graphical tool TortoiseGit found a good use, it is recommended that students can learn, very convenient.

Video Address:  https://www.bilibili.com/video/av53325547?from=search&seid=15848173538147911017

Second, the progress of the recording, to the submission of a half unit of time, the code is detected, burndown

Because in order to learn github development projects, here only set up three issue a simple demonstration, at the end of issue forget close out, so the image appears ...

 

Third, sum up and reflect multiplayer co-development

  Ha ha ha, this project is a good project code knock, it is indeed difficult to use git, git no system to learn, do not understand the principles of branches, a lot of time spent on learning to use git, I hope the latter You can be more skilled to help students quickly master the use of git will invest more effort in the development process of the project.

 

1. branch of conflicting information when I do not know how to modify the merge, this is a C # project, but guess wrong information in a profile in the form of information, yet think of a suitable way to avoid.

Use 2.git pull is always a problem, the problem may be with the same principle 1, where changes do not understand why, after pulling the files. (Git pull is like clone reason it?)

3. The lack of communication when many people work together to develop, a problem might spend a lot of time to make a team of people to master knowledge points.

 

 

Guess you like

Origin www.cnblogs.com/jason5689/p/11347946.html