1. Download and install: http://jingyan.baidu.com/article/7f766dafba84f04101e1d0b0.html2. Verify the public key: https://git-scm.com/book/zh/v1/%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%b8%8a%e7%9a%84-git-%e7%94%9f%e6%88%90- Ssh-%e5%85%ac%e9%92%a5HTTP://BLOG.CSDN.NET/HUSTPZB/ARTICLE/DETAILS/8230454/(reprinted from http://blog.csdn.net/hustpzb/article/details/8230454/ )(the first two have experienced there is no detail
manual: Git diff, git Add, git diff--cached command details
For a detailed explanation of git commit commands, please refer to the article: Git manual: Git commit-m/-am/-a-m submit files to local warehouse area
For a
: Git status View changes to files in the local workspace, registers
For the use of Git diff and git add commands, please refer to the article: Git Usage manual: Git diff, git Add, git
IdeasSimulate Linux, copy a composer file to Git Bash's/usr subdirectory, and give execute permissions.SolveFirst, make sure your Composer.phar file path. Mine is: /d/wamp64/bin/php/php5. 6.31/composer.phar (please put similar d:\ Changed to/d/).Then copy, and Modify permissionsCp/d/wamp64/bin/php/php5.6.31/composer.phar/usr/local/bin/composerchmod A+x/usr/local/bin/composerTestTroubleshoot a Windows environment that does not recognize the Composer c
Add the following configuration information under Git installation directory etc
1,/etc/gitconfig:
[GUI]encoding = Utf-8 #代码库统一用urf-8 to display Chinese in the Git GUI[i18n]commitencoding = GB2312 #log编码, window under the default gb2312, after the declaration sent to the server will not garbled[SVN]pathnameencoding = GB2312 #支持中文路径
2,/etc/git-completion.bash:
Here is my bash alias. The argument is the An example:CD/path/to/Foo/_ Gittar masterThe output is (Time in ISO 8601/UTC ):../Foot-YYYYMMDD.HHMM.tar.gzFunction _ gittar (){Local name = $ (PWD)Name =$ {name ##*/}If [! "$1"]; thenEcho "[Error] What branch to export? "Return 1FiLocal date = $ (tz = UTC date '+ % Y % m % d. % H % m ')Local PKG = "$ name-$ date"Local dir = ".."Local tar = "$ DIR/export pkg.tar.gz"Git
This tutorial was posted on the community web site and is now transferred to your blog:
Http://oss.lzu.edu.cn/artical.php?id=16
Description: All pictures of this tutorial are from "Pro git". All of the following operations, unless specifically stated, are based on Linux terminals. If you find that this article has errors, or other questions, please contact me: we
websites.Because Git installation is relatively simple, so I just focus on the point, no mention of the interface, keep the default.Below this interface, is chooses our git software installs the location, everybody follows own custom to be possible.The following page is to choose which components to install, leave the defaultChoose what version to install, we install G
I first published and summed up the things I learned, there are bad places please point out
one, git upload item (install git)
There are two ways git uploads a project: An HTTPS method, an SSH method
HTTPS method:
1, first login github.com registered account to create a newrespository
2, install git,
Concise git tutorial (single-user version) and git tutorial
Recently, I started to write a relatively large project, so I need to use git. I have been using SVN built with Kingsoft kubernetes and turtles. Recently I want to try git
ObjectiveI have always wanted a piece of this stuff, because when I first contacted, I also carefully read the Liaoche tutorial, but it seems I think a little bit more, and will bring me a lot of redundant and repetitive operating burden, so I hope to compress it in my work cost, but search for a while did not find a satisfactory tutorial, A new year to comb your own experience.Maybe the boys are more big G
Git branch operation tutorial, git branch operation tutorial
1. Create a branch
Git branch name
2. Switch Branch
Git checkout branch name
3. Submit the code after modifying the branch
Gi
After installing Git is not eager to practice practiced hand, then we start now.
test Environment: Operating system--windows XP, software--git for Windows, operating terminal--git Bash
The first thing to do is to prepare, find a suitable location to create an empty directory, and then choose to create an empty director
on the computer changed the file a, at this time, you two only need to put their changes to each other, you can see each other's changes.Three: How to install git on Windows?Msysgit is the Windows version of Git, as follows:You need to download one from the Web and then install it by default. After the installation is complete, find "git-to-
also on the computer changed the file a, at this time, you two only need to put their changes to each other, you can see each other's changes.Three: How to install git on Windows?Msysgit is the Windows version of Git, as follows:You need to download one from the Web and then install it by default. After the installation is complete, find "git-to-
Android Basics Getting Started tutorial--1.5.1 git using the tutorial's basic operation of the local repositoryTags: Android basics Getting Started TutorialWhat is Git?
A distributed version control system, similar to SVN, but one version control system that is far more powerful than SVN①git can be easily vers
Git learning, git learning tutorial
Git command line configuration1 install Github2. Install msysgit3. Configure the user name and Fuel TankGit config -- global user. name My command is: git config -- global user. name mchdbaghGit config -- global user. email My command is:
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.