Git commands most commonly used in the enterprise (branch code is merged into the master branch)

Time:2020-2-13

Git commands most commonly used at work

==start==

1. Git pull takes back the changes of the remote warehouse and merges with the local branch

Git commands most commonly used in the enterprise (branch code is merged into the master branch)

2. Git branch view local branch

Git commands most commonly used in the enterprise (branch code is merged into the master branch)

3. Git checkout to switch branches

Git commands most commonly used in the enterprise (branch code is merged into the master branch)

4. Git status to view the modified file

Git commands most commonly used in the enterprise (branch code is merged into the master branch)

5. Git add. Add all files of the current directory to the staging area

Git commands most commonly used in the enterprise (branch code is merged into the master branch)

6. Git commit – M “” (submit staging area to warehouse area)

Git commands most commonly used in the enterprise (branch code is merged into the master branch)

7. Git push: upload local designated branch to remote warehouse

Git commands most commonly used in the enterprise (branch code is merged into the master branch)

8. Git checkout master? Switch to the main branch master

Git commands most commonly used in the enterprise (branch code is merged into the master branch)

9. Git merge – merge branches to master branches

Git commands most commonly used in the enterprise (branch code is merged into the master branch)

10.git push

Git commands most commonly used in the enterprise (branch code is merged into the master branch)


==end==

Recommended Today

[reading notes] calculation advertising (Part 3)

By logm This article was originally published at https://segmentfault.com/u/logm/articles and is not allowed to be reproduced~ If the mathematical formula in the article cannot be displayed correctly, please refer to: Tips for displaying the mathematical formula correctly This article isComputing advertising (Second Edition)Reading notes. This part introduces the key technology of online advertising, which is […]