ResourcesGraphical Client
GITX (L) (OSX, open source software)
Tower (OSX)
Source Tree (OSX, free)
GitHub for Mac (OSX, free)
Gitbox (OSX, App Store)
Guides and Manuals
Git Community Reference Book
Professional Git
Think like Git.
GitHub Help
Diagram Git
rela
much information is displayed, we can use the command git The Log–pretty=oneline demo is as follows:Now I want to use the version fallback operation, I want to fallback the current version to the previous version, what command to use? You can use the following 2 kinds of commands, the first is: git reset--hard head^ then if you want to fall back to the first ver
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 Git
Guide
Git is a free, open source distributed version control system for agile and efficient processing of any or small or large project. In general, you can use Git as long as you remember 6 commands. But skilled use, I am afraid to remember 60~100 a command.
Here's a list of common Git
GIT's general operationsRegular operation is also a few of my own usual commands, learned from pro git this bookgit configuration file
Git's configuration file locationFor all users:/etc/gitconfigFor current User: ~/.gitconfig
To view the configuration methodgit config --list
Ways to modify Configurationsgit config --global user.name "wangyubin" (修改的是~/.gitconfig)
. Use-a to specify the label name and-M to specify the description text: git tag-A v0.1-M "version 0.1 released" 3628164
5 use the PGP signature label: git tag-S
6. Push a local Tag: git push origin
7. Push all unpushed local tags: git push Origin -- tags
8. delete a local Tag: g
current trail list and delete all files
Git RM readme.txt
Only deleted in the temporary storage area. The files are retained in the current directory and will not be tracked.
Git Rm-cached readme.txt
Rename a file
Git MV reademe.txt readme
View submitted history
Git log
Modify the comments submitted last time using th
How to Use Git commands on Linux Terminals
Speaking of Git, developers are not familiar with it. before using it, we need to understand several issues:
What is Git?
If you are a software developer, you must be familiar with Git. Git
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代码库$ git ini
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
ArticleDirectory
1. Concept
2. Git Configuration
3. View commands
3. Local Database Operations
4. Remote database operations
5. View File modifications (diff)
6. Reset and revert)
7. Create a tag)
8, Miscellaneous
Because git (GitHub) is used in the project, and git
Original address: http://www.ruanyifeng.com/blog/2015/12/git-cheat-sheet.html 阮一峰日期: 2015年12月 9日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
remote add [shortname] [url]
# Retrieve remote repository changes and merge them with local branches
$ Git pull [remote] [branch]
# Upload a specified local branch to a remote Repository
$ Git push [remote] [branch]
# Forcibly push the current Branch to a remote warehouse, even if there is a conflict
$ Git push [remote]-Force
# Push all branches to a remote Repo
The following are common commands used by git, which roughly summarize the following. Many Commands are used for Version Control Using git, but the common commands are also within the scope of the brain, share your summary with you.
1. Create a
Install Git on LinuxFirst, you can try typing git to see if the system has git installed:1 giIf you happen to be using Debian or Ubuntu Linux, you sudo apt-get install git can simply complete the git installation in one piece.If it is a different Linux version, you can ins
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 follows.
Workspace: Work Area
Index/stage: Staging Area
Repository: Warehouse area (or local warehouse)
Remote: Repository
A
As is known to all, Git is now a leader in distributed versioning, creating a complete ecosystem around git. Learning Git is, of course, the basic workflow of learning git. Compared to traditional version control systems like SVN, Git is a powerful tool for distributed versi
Github website introduction, and use git commands to manage github (detailed description), githubgit
Learn this chapter:
1)Familiar with github website
2)Remotely manage github using git commands,
3)You do not need to enter the account and password to use the ssh key for git
Usually use two version number control software SVN and Git, in all fairness, assuming purely own use, then absolute git more suitable, local library, remote library, offline work, powerful and flexible branch, the famous GitHub, these are the reasons to choose Git. Remember when you first approached Git, feel
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.