Git, TortoiseGit installation

git workflow

1.从远程仓库中克隆 Git 资源作为本地仓库。
2.从本地仓库中checkout代码然后进行代码修改
3.在提交前先将代码提交到暂存区。
4.提交修改。提交到本地仓库。本地仓库中保存修改的各个历史版本。
5.在修改完成后,需要和团队成员共享代码时,可以将代码push到远程仓库。

software download

GIT:
下载地址:https://git-scm.com/download
TortoiseGit和语言包:
https://tortoisegit.org/download/

Here Insert Picture Description
Here Insert Picture Description

Git installation

Git可以在Linux、Unix、Mac和Windows这几大平台上正常运行

Install git for windows
Here Insert Picture Description
Here Insert Picture Description
all the way "Next" to use the default option (the individual is installed to the specified drive letter).
Installation TortoiseGit
Here Insert Picture Description
Here Insert Picture Description
Here Insert Picture Description
all the way "Next" to use the default option to (individual installation to a specified directory).
By default, the screen will launch configuration options:
Here Insert Picture Description
due to the current language pack in English only, the default can continue to the next step.
Configuring git.exe, git-for-windows already installed a so this directory to find git.exe located.
Here Insert Picture Description
Configuring developer name and email every time submit code will put this information into the information submitted.
Here Insert Picture Description
Here Insert Picture Description
Use the default configuration, click on the "Finish" button to complete the configuration.
After the completion of the full git menu items will appear in the system context menu.
Here Insert Picture Description
Install Chinese language pack
install Chinese language pack is not mandatory. You can choose to install on an individual basis.
Here Insert Picture Description
Here Insert Picture Description
Direct "Next" to complete is completed.
Language pack can be adjusted after installation setup language TortoiseGit
Here Insert Picture Description
Here Insert Picture Description

Published 81 original articles · won praise 5 · views 20000 +

Guess you like

Origin blog.csdn.net/qq_36205206/article/details/104477319