Git is used every day, but a lot of commands can't remember.In general, the daily use of just remember 6 commands, you can. But skilled use, I am afraid to remember 60~100 a command.Here's a list of common Git commands I've compil
NanyiDate: December 9, 2015I use Git every day, but I can't remember many commands.In general, the daily use of just remember 6 commands, you can. But skilled use, I am afraid to remember 60~100 a command.Here's a list of common Git commands I've compiled. Several special no
List of common Git commandsHere's a list of common Git commands I've compiled. Several special nouns are translated as follows.
Workspace: Work Area
Index/stage: Staging Area
Repository: Warehouse area (or local warehouse)
Remote: Repository
Source: Nanyi's Blog
Website: http://www.ruanyifeng.com/blog/2015/12/git-cheat-sheet.html
I use Git every day, but I can't remember many commands.In general, the daily use of just remember 6 commands, you can. But skilled use, I am afraid to remember 60~100 a command.Here's a list of common
Here's a list of common Git commands I've compiled. Several special nouns are translated as follows.
Workspace: Work Area
Index/stage: Staging Area
Repository: Warehouse area (or local warehouse)
Remote: Repository
First, create a new code base
# 在当前目录新建一个Git代码库$
Three basic concepts
The workspace (Workspace) is the root directory of the items in your computer
Registers (Index) like a cache area, temporarily save your changes
The version library (Repository) is divided into local warehouses (locals) and remote warehouses (sqlremote)
Almost all of the commonly used commands are based on these concepts, a picture of victory, the following is a relatively simple diagram, including the most basic command
Wen/NanyiI use Git every day, but I can't remember many commands.In general, the daily use of just remember 6 commands, you can. But skilled use, I am afraid to remember 60~100 a command.Here's a list of common Git commands I've compiled. Several special nouns are translated
I use Git every day, but I can't remember many commands.In general, the daily use of just remember 6 commands, you can. But skilled use, I am afraid to remember 60~100 a command.Here's a list of common Git commands I've compiled. Several special nouns are translated as follo
Common git commands and git commandsCommon Git commands
View, add, submit, delete, retrieve, and reset the modified File
Git help
Git show # display the submitted content
interactive tools)Function Description: file administrator in text mode.Syntax: git commandNote: The git command is used to manage files. It is similar to Norton Commander in DOS and has an interactive operation interface. Its operation method is almost the same as that of Norton Commander:F1: Execute the info command to query the command information. You are required to enter the name you want to query.F2
Git commands can be sorted in Chinese and git commands in Chinese.
Git command quick query table Chinese Version
Create
Copy A created warehouse:
$ git clone ssh://user@domain.com/repo.git
Create a new local repository:
Common Git commands and git commands
Since work, the source code management tool has used SVN, TFS, Git, and finally exclusive Git
This blog summarizes the Git
Five steps to master the basic development and usage commands of Git, and five steps to master git commandsStep 1: set global variables:
git config --global user.name "gang.li"git config --global user.email "ligang@ptthink.com"Step 2: Initialize the repository and push it to
Common Git commands and common Git commands
Mkdir:XX (create an empty directory XX refers to the directory name)
Pwd:Shows the path of the current directory.
Git initChange the current directory to a manageable git repository and
Common Git commands and git commands
This article is in the study of the summary, welcome to reprint but please note the Source: http://blog.csdn.net/pistolove/article/details/47315569
Recently, I have been studying common git commands
file Cat Id_rsa.pub 2,
Add Warehouse
Copy warehouse address, for download to local if you want to delete the warehouse, it is also very simple eight,
Build Oschina Remote Warehouse
1.
Create a warehouse
Register a Oschina account: Https://git.oschina.net Warehouse Address
Add Project group members
Then you need to set up Git's mailbox and user name at the terminal, or you won't have access to the repository.2.
Delete Warehouse
Source Control--
Git is a great solution-2. Detailed explanation of Git local operation commandsGit is a great solution-2. Detailed explanation of Git local operation commands
Tag: Git
Introduction
The previous section explains some concepts about Git
GitHub for Windows usageArticleIt is good to take us to get started with GitHub and a gitshell. This tool can run all the commands of GitHub to do more things, for example, how to merge git is a task we want to complete today?CodeCode from the library to your own library.
Windows powershellCopyright (c) 2012 Microsoft Corporation. All rights reserved.
C: \ Users \ geffzhang \ Documents \ GitHub \ shar
Sort notes-common Git commands, notes-common git commands
In Windows, configure SSH to connect to GitHub/GitLab ==> when you need it, follow the search criteria Baidu.
Echo "content"> file name ==> string output.
1. Global Configuration:
Git config -- global user. name "use
checkout--check out, is our common command. Often used to switch branches, here is another use of git checkout.
2, Git checkout. Title
Action: Cancels all previous uncommitted modifications under the current directory. That is, we can use this command to cancel the previous modification before we change the code, but without a commit.
3, Git checkout a/abc
Expla
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.