GIT ------ acquaintance and download and install software

Summary:

Git (pronounced / gɪt /) is a distributed version control system open source, can efficiently at high speed process from small to very large version of the project management.
[1]
Git is an open source of Linus Torvalds in order to help manage Linux kernel development and the development of version control software.

Features:

  1. Compared to the centralized distributed biggest difference is that the developer can be made locally by each developer cloning (git clone), a complete copy of the local machine Git repository
  2. People can co-development, and can be updated in real time

The core git is a distributed version control

Version control is the software development process in a variety of program code, configuration files and documentation and other documents change management, software configuration management is one of the core idea.

Common version control tools

  • git (currently most popular) (DVCS)
  • svn (subversion) (okay) (centralized version control)
  • cvs (concurrent version system)

git VS svn
git: centralized version control system

  • There is no central server
  • Each person has is complete repository
  • Everyone has led to a complete repository easily lost core document
  • For pure developers, the advantages outweigh the disadvantages for people to steal information, the advantages outweigh the disadvantages

svn: distributed version control system

  • A central server
  • All versions used from the central server
  • Easy to manage
  • For managers, more good than harm

Software download and installation

One way: official website to download (slow)

Second way: use a mirror to download Taobao under: http://npm.taobao.org/mirrors/git-for-windows/free installation brain

Installation: Start menu bar you can see the corresponding three git tool, you can see right git gui here====== git bash hereicons, commonly used is the latter, you can open a command line manipulation

View Related:
git config --system --list : View the system configuration
git config --global --listView the current user profile

Set the user name and mailbox
global configuration is a global variable
git config --global user.name "moji"
git config --global user.email [email protected]
workflow:

  1. Manipulate files in the working directory
  2. The files in the staging area git add .
  3. Will be submitted to the temporary file to the git repository
    Here Insert Picture Description
Published 87 original articles · won praise 7 · views 5022

Guess you like

Origin blog.csdn.net/y18791050779/article/details/105159773
Recommended