1. Data backup
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/7E/DF/wKiom1cLTEmgkhFyAAFtJjGIpBs100.png "title=" screen shot 2016-04-11 15.03.17.png "alt=" Wkiom1cltemgkhfyaaftjjgipbs100.png "/>
The company's server is mirrored as a git service.
Role: Prevent data loss, no matter what happens!!!
Process:
1) Write something
2) Local Submission
Git-u add
Git commit
3) do a total commit (host-to-company server)
git push
4) The company server and data Center have auto-submit function (mirroring is established between them)
(PS: The Mirror repository below the center of the data on the graph is the image repository of git, the user is only readable, not writable)
Summary: Three copies (host---company Server---data center)
2, remote cooperation
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/7E/DC/wKioL1cLTSLh8vmbAAHaBrbHCiM575.png "title=" screen shot 2016-04-11 15.03.49.png "alt=" Wkiol1cltslh8vmbaahabrbhcim575.png "/>
Action to do:
1) Synchronize data center data to the host on the home (mirror---host) operation 3
Git pull Mirror Master
2) Upload the modified file to the home repository (mirror not writable) Operation 4
git Push Home
3) Download from the home library to the company's host (home---host) operation 5
Git Pull Home Master
4) Other users can download the operation 6
Git pull
5) Other users can make changes and submit actions 7
git push
6) This user can download the version of other people's modifications 8
Git pull
3. On-site version control
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/7E/DF/wKiom1cLUFqBeeK2AAKa9edoY9k091.png "title=" screen shot 2016-04-11 15.20.25.png "alt=" Wkiom1clufqbeek2aaka9edoy9k091.png "/>
4. Avoid Introducing auxiliary catalogue
For the Web server, and search for the difficulties of the secondary directory, git only. git files, can be moved, there are specialized search commands, only in the root directory search.
5. Rewrite the submission statement
When you have a typo in your statement or you don't have an ID to write a bug, you'll need to resubmit the statement.
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/7E/DF/wKiom1cLUdTxDy81AAGy79glFLo996.png "title=" screen shot 2016-04-11 15.26.52.png "alt=" Wkiom1cludtxdy81aagy79glflo996.png "/>
6. Version fallback
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/7E/DF/wKiom1cLUm-Tw6xjAACKN3Wezw4444.png "style=" float: none; "title=" screen shot 2016-04-11 15.29.14.png "alt=" Wkiom1clum-tw6xjaackn3wezw4444.png "/>
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/7E/DF/wKiom1cLUnDzw1TmAACDdKVfXHM587.png "style=" float: none; "title=" screen shot 2016-04-11 15.29.22.png "alt=" Wkiom1clundzw1tmaacddkvfxhm587.png "/>
7, a better submission list
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/7E/DD/wKioL1cLU66gdC59AAG9RWgDjIA741.png "style=" float: none; "title=" screen shot 2016-04-11 15.30.58.png "alt=" Wkiol1clu66gdc59aag9rwgdjia741.png "/>
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/7E/DF/wKiom1cLUvzAXjdqAAFGWG64CDc572.png "style=" float: none; "title=" screen shot 2016-04-11 15.31.06.png "alt=" Wkiom1cluvzaxjdqaafgwg64cdc572.png "/>
8, better differences in comparison
Support for differential comparisons of binary files, supporting verbatim comparisons of one line
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/7E/DD/wKioL1cLVKvSqBLuAAFUZHg_pnc426.png "title=" screen shot 2016-04-11 15.36.03.png "alt=" Wkiol1clvkvsqbluaafuzhg_pnc426.png "/>
9, the work progress of the preservation
When a job is not completed, but has to start a new job:
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/7E/E0/wKiom1cLVL_TKzpLAAFm2cUeYDU069.png "title=" screen shot 2016-04-11 15.39.03.png "alt=" Wkiom1clvl_tkzplaafm2cueydu069.png "/>
This article from "Momo is spicy moe" blog, please be sure to keep this source http://momo462.blog.51cto.com/10138434/1762636
Learn github-2 from scratch, what git can do for us