This article is mainly about documenting the process of installing GIT on the Windows platform and the simple use of git.Describe the installation requirements first:· Both the client and server side operating systems are Windows.· The client should be able to access the repository via HTTP.· Whether to take out files or send files, you need to verify your identity (enter your account password).Below are th
This article is an entry-level usage tutorial. It briefly introduces the most basic commands and is designed for users who want to use git without knowing where to start. Git is a new and popular code management tool. The most famous application is Linux kernel code management. Git is better than SVN in two aspects: li
As an entry-level novice, learning to use git to manage your own code is an essential step in the ladder. The GitHub account was registered very early, but there was nothing written about it, and the intern's department architect began to standardize the code for the program, requiring documentation, and the version control tool intended to switch from SVN to git
project, and when the various parts of the project are fully developed, they are put together to form the final version, a process known as merging. In fact, this practice is quite common in teams and software companies: everyone is responsible for part of the project, and ultimately all parts are integrated into the final product.The version control system is not required for individual developers, but we strongly recommend that developers use it be
Today, to share some of the GIT basic commands I've used in development, and to help the little novice partners deepen their impressions.
Git's characteristics are not much said, distributed, version controllable is one of the more distinctive highlights.
We split git's content into two parts: basic operations, advanced operations.
The basic part is roughly divided into the following main points:
(1) Adding (ADD)
(2) Delete (RM)
(3) Modify
(4) Cloning
1. Merging between branches1) Direct Merge: Combine the historical trajectories on the two branches (that is, all changes are merged)[Email protected]7817:~/mygit$ vim merge.txt[email protected]-ms-7817:~/mygit$ git St g# on branch thrid# untracked files:# ( use"git add ."To includeinchWhat'll be committed) # # merge.txtnothing added to commit and untracked file
/svnroot/vim/vim7$ Git-SVN fetch-r 625 # to reduce consumption, you only need to capture the latest revision instead of copying the entire SVN repository.
At this time, Git-SVN will generate a remote branch called Git-SVN, and let the local master point to this branch. Therefore, we can spend a version of our own from the master:
$
window to install Git,Download the graphics installation package, all the way to the next: Git-for-windows.github.ioWindows Git integrates a bash that uses GIT commands in this shellLinux installation is much simpler.Git easy to use1 Create a new directory and enter it into the directoryGit init creates a
Build and use Git servers
Git is a distributed version manager with powerful functions. It was initially developed by Linus. Its version is managed locally and does not need to download the version from the central server as SVN does.
Install git in linux. You can configure Yum and install
step
Verify that the gray dots on the successful web page turn green
8. Open GitHub home page after copying to public key
Click Warehouse (repositories)
Then click New to GitHub to create the warehouse interface
9. Download an empty warehouse to a local location via the address provided by GitHub
Create a new project into the local warehouse folder
Submit code to GitHub with Xcode
Note: When a username password is required, the nickname displayed
Use of Git GuiGuideIf you have learned a lot about using Git command line operations. You have learned to operate on local files, connect to your repository through the network, and cooperate efficiently with others. But the story is not over yet; Git is usually part of a larger ecosystem, and in some cases terminal us
GitHub user guide! (For Linux systems, UBUNTU systems)
Step 1: download and install git.
Use Synaptic Package Manager to install the latest version of git. We recommend that you install Git-core, Git-Gui, and git-Doc.
Step 2: Set
programs from other systems, the Mac OS X Installation File is here, and the Linux operation guide is here. Many people prefer to use Github to create a remote code library. I personally prefer BitBucket because it provides an unrestricted private code library, which is what I need most. You can convert the following commands to Github. These processes are the same. Go to www.bitbucket.org and register an account. After logging on, click "create" at
Create an issue
Comment
Clone and pull Projects
Package and download code
Create a pull request
Create Branch
Push Branch
Delete Branch
Create tags (milestones)
Create Wiki
Administrator
Create an issue
Comment
Clone and pull Projects
Package and download code
Create a pull request
Create Branch
Push Branch
Delete Branch
Create tags (milestones)
Create Wiki
Add a project member
Forced push Branch
Edit Project Properties
Project Team Administrator
Edit project group at
project, and when the various parts of the project are fully developed, they are put together to form the final version, a process known as merging. In fact, this practice is quite common in teams and software companies: everyone is responsible for part of the project, and ultimately all parts are integrated into the final product.The version control system is not required for individual developers, but we strongly recommend that developers use it be
local location).9, then enter the git clone command (copy the project down), git clone [email protected]:bonker/test.git so that the [email protected]:bonker/test.git Copy of the project to this machine.10, update the file, if we change one of the files of things, first enter git add xxx.txt tell git we want to know t
=" http://dl2.iteye.com/upload/attachment/0080/2435/ 75df9cfb-7c89-3c5e-bbab-1d8610a2e22d.jpg "alt=" Submission Diagram "style=" Border:0px;vertical-align:middle;height:auto;margin : 10px auto; "/>Git add # Add workspace modified file submit to stage (index) git commit-m "comment" # submit the file in the stage (index) to the local library (commit) and add the comment g
"
Establish an association with a remote github repositoryThe remote warehouse address is the new project address that you just added on GitHub https://github.com/user name/project name. Git$ git remote add origin https://github.com/用户名/项目名.git
Sync to a branch of a new project in remote GitHub (default is General Master)$
Original URL: http://www.cnblogs.com/cocowool/archive/2010/10/19/1855616.htmlRecently started using Git to do some supplemental work on KOHANA3 's documentation, using Git and GitHub, from understanding to using, or a little distance, here are some of the ways to summarize.1, the installation of GitI use Ubuntu 10.04, which is not installed by default in Ubuntu,
First, install git1, Windows install a Git2, Linux under the Yum (apt-get) Install Gitsecond, use Git to connect to GitHubWhen you use Git to connect to GitHub, you need to put an SSH public key generated under Linux on GitHub. 1), generate the public keySsh-keygen-t rsa-c "[Email protected]"Then the system prompts to
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.