To use small git substantially Qinqin

We recommend git code itself daily work proposals submitted using the command line, and then involve modifying contrast and other graphical tools

1. Open the command-line tool git git pull down the project directory, right git Bash Here

2, open the git TortoiseGit differences in contrast in the project directory git pull down, right TortoiseGit - contrast difference (the English version is diff)

 

Codebase submission process:

1) git pull to pull in remote code

Successfully pull skip to step 6, skip to step 2 conflicts prompt file

2) git stash storage modification

3) git pull back pulling remote code

4) git stash pop stash @ {0} stored pop modifications, git automatically merged content

5) Check git automatically merged content is correct (TortoiseGit can compare the difference functions)

6) Verification difference before and after the submission, confirmation code is correct

7) git status to view the current status of the code 

. 8) git add (Git add all modifications can be placed in the staging area are;. Git add relative path may also be single / multiple file into the temporary storage area)

9) git commit -m "the title of this code is submitted."

10)   git push 

Guess you like

Origin www.cnblogs.com/fanhuazhixia/p/12165079.html