Related articles:For a way to verify that an SSH configuration exists and generate an SSH key, refer to the article: Git usage manual: Generate SSH key for SSH key usage and public key in GitHub, Gitlab configuration, please refer to article: Git usage manual: Use SSH key and configure SSH Key public key on the concepts and relationships of Git workspaces, regist
Git's first use Git common command query Git push Git pull before introducing installation and simple use, let's take a look at The introduction in Baidu Encyclopedia: ---------------------------------- Git --- The stupid content tracker, dummies content tracker. In Linux, we will introduce
One, git introduction what is git? Git is an open source Distributed version Control tool in all of the world's distributed version control tools, Git is the fastest, simplest, and most popular git origin author is the father of Linux: Linus Benedict Torvalds developed
Features:
1. You can quickly switch between project branches.
2. roll back the version of a branch.
3. You do not need to modify the configuration file (defined for projects) for each branch switch)
4. You do not need to create/switch virtual directories/domain names because they are all in the same directory.
5. Are these attractive to you? If you like it, join in.
What is git?
Git is
First step: Build Git WarehouseCD to your local project root directory, execute git command
Git init11
Step Two: Add all the files from the project to the warehouse
git Add. 11
If you want to add a particular file, just replace it with a specific file name.
Step three: Commit the Add file to the warehouse
Git add-a and git Add. Git add-u looks similar in function, but there's a difference.
git Add. : He will monitor the status tree of the workspace and use it to submit all changes to the staging area, including file content modification (modified) and new files, but excluding deleted files.
Related articles: about verifying that there is an SSH configuration and how to generate SSH key can refer to the article: Git usage manual: Generate SSH Key
For the use of SSH key and the configuration of the public key in GitHub, Gitlab, please refer to the article: Git manual: Use SSH key and configure the SSH key public key to the concepts and relationships of Git
Related articles:For a way to verify that an SSH configuration exists and generate an SSH key, refer to the article: Git usage manual: Generate SSH key for SSH key usage and public key in GitHub, Gitlab configuration, please refer to article: Git usage manual: Use SSH key and configure SSH Key public key on the concepts and relationships of Git workspaces, regist
Found in accordance with the git push stuck to Google, can search a lot of previous peer sent blog has mentioned, but seemingly no solution. This problem has been solved in the latest version of Msysgit, hoping the solution will spread out. Let more programs ape classmates see.=====================Ah ah ah, studied for two days, finally found solution. Go to the shouts for a while=====================The project team used the server to hang up, hard d
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 \ sharpoau2[ master]>
Cute new note-git problem (error: object file. git/objects/* is empty...) solution and understanding of git version library files, gitobjects file is too large
Due to improper operations, a major problem occurs in the git version library, as shown below:
error: object file .git
Git for detailed use, git for use1. Git Concept1.1 The Git library consists of three partsGit repository is that. the git directory stores the submitted document index content. Git can track the content of the documents it manages
[Git experience] git principles and basics, experience git principles
Principle: Distributed version control systems such as Git, Mercurial, Bazaar, and Darcs. The client does not only extract the latest version.
Instead, it completely mirrors the original code repository. In this way, any server that works collaborati
git Add. : He will monitor the status tree of the workspace and use it to submit all changes to the staging area, including file content modification (modified) and new files, but excluding deleted files.
Git add-u: He only monitors files that have been added (i.e., tracked file), and he submits the modified files to staging area. Add-u does not submit new files (untracked file). (
Environment:
Git Sserver
IP: 192.168.40.128
Git Client
IP: 192.168.40.134
-----------------------------------------
Recommended reading:
Fedora downloads Git through Http Proxy
Install Git on Ubuntu Server
Create a Git repository on the server (Ubuntu)
The premise is that Gitbash has been installed, this later out tutorial1, create a new directory, to store the downloaded items, I have a new "Gitspace" folder on the D disk, to store the downloaded items2, enter the newly created folder, that is, enter "Gitspace", click the right mouse button, select "Git Bash here", such as:After clicking on "Git bash here", you can see the following interface, otherwise,
Main content:
1, git add-a
2. Git Add.
3. Git add-u
I. Overview:
Git add is the first step in git code management to save modified code, but there are three git add commands that are commonly used in
If you add a slogan, Showticket (), that is the return value of the function as input, not the function object itself
JavaScript converts a string into Integer,var price =+ ... Plus a plus sign
How to use jquery to separate CSS code from
Install Git and use Git to manage personal documents
1.1 install Git
The latest version of Git can be found.
Before installationFirst, make sure that the corresponding dependency package has been installed, mainly including the following:
Zlib
Libcurl
Libcrypto (OpenSSL)
Rsync (2.6.0 or later)
After these conditions a
Git command for obtaining and creating projects, git command for obtaining Projects
Obtain and create project commands
Git init
Use git init to create a Git repository in the directory. You can do this at any time and in any directory, and it is completely localized.
Execute
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.