This article is on the previous article "Git-tortoisegit Complete configuration Process" expansion, so need to have an understanding of the previous article, of course, directly down to see also can, some of which mentioned some basic operations.
"Git-tortoisegit Complete configuration Process": http://www.cnblogs.com/popfisher/p/5466174.html.
This article to configure the github.com account and Git.oschina
"My GitHub Account:"User name: ChenhongshuangPassword: shuangshuang6300Email: [Email protected]After entering the GitHub account1 • Create a new project file name example demo, and click "Branch:master input gh-pages after enter":::"The same project file name demo" must be built in any location of your computer after you have built it.2 CD into a locally created project file:
First: Copy items from GitHub to local 1. Create a project on GitHub named: Mygittest2. Copy this project on our local computer: Select a folder directly, right-click Git Bash hereBy typing the GIT clone project address directly, you can copy the project created on
Register your account and create a warehouseFirst you have to have a GitHub account, no self-registration, after the successful login should be like thisSelect "+" on the user menu at the top of the page->new repository create a new warehouseTo get a name for the warehouse, click the Create Warehouse button and you will be able to create a warehouse successfully.Installing the GIT clientGitHub is a server,
Label: style blog HTTP Io color OS use SP strong What is git? 1. Git is mainly used to manage versions. 2. Keep data integrity at all times: SHA-1 computing 3. Three states of the file Submitted, modified, and saved three work areas for file transfer: local repository, git working directory, and temporary storage area. (? Linux File directory structure) 4.
Recently in the play GitHub this base friend platform, here to do a summary, easy to consult later, you can also give users a reference.One: Register your github account and download git.Second: Create a new warehouse on GitHub, point + and click New Repository, give your warehouse a name, mine is test. Three: Install
We want to be part of a team in our spare time to do something that is meaningful to you, and that's what GitHub is prepared for. But we have to learn from the usual SVN.Tools/Materials
myeclipse8.5
GitHub
Method/Step
1Download the Git plugin for Eclipse--egit. Download URL Http://download.eclipse.org/egit/updates-1.3/org.eclipse.egit-update
1. Command git branch -View Branch --d -Delete a branch (delete the unused branch after the merge is complete) --merged -current branch down and branch --no-merged -View the branch that has not been merged git branch -created a branch note: If the query result is * master, there is * Indicates that the current selection is the main branch ([master] in brackets and the currently selected branch) 2. Branch
I use the Windows system, these days learned to use Git to find each use of Git push each time to enter the user name and password, feel very annoying, deliberately surf the internet, found a simplified method. Although not original, but at least added a bit of their own experience, after all, the middle also luo a half-day.First enter your user name directory , Windows is generally in C:\users\Administrato
It's been a while to join GitHub, but it hasn't been very active. Write this small article one is to share some of their own experience, and second, to the brain to save a backup (after the college entrance examination after the memory brush down, maybe one day and forget ...) )。Here are the steps to focus on Windows users.First, the preparatory workPS: You can directly ignore the preparation if you have already installed
upload your code ~ Bash switches to your project directory and enter the following command.
Git remote add origin git@github.com: Your github user name/your github project name. Git
git
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
outside, anyone can see. Click Finish sign up to complete the registration. Next look at how to submit our code to GitHub.SSH authorizationAfter registering a good account we can randomly view other people's projects, even clone download, but to submit the code must complete the SSH authorization, if you can not authorize to submit the code, then GitHub is not a mess.1. Generate SSH KeyOpen git
git software: https://git-scm.com/download/1. Build a project on GitHubAfter logging on to GitHub, you can find a button "New Repository" in the right-hand side, click on it, fill in the project name, description and URL after you can create, then a prompt page, write down a similar [email protected]:xxx/ Xxx.git address, this is the address of your project.2. Co
distributed version control system software includes git, mercurial, bazaar, and darcs.
The following is a comparison between a central version control system (on) and a distributed version control system (on.
It is not hard to see that the distributed version control system has higher security. Multiple copies of files are ensured, so that all files will not be lost due to the fault of a certain machine. Even if the host crashes, the latest
1 Installation
There are several implementations of the current version of Git for Windows, but we chose the Msysgit release, which is currently the best compatibility. Download Address: Http://code.google.com/p/msysgit/downloads/list
When the download is complete, double-click the installation file and follow the prompts to complete the installation of Git. Git
-keygen-C "username@email.com"-T RSA
The email address used here is the e-mail address you used when registering git. Here, you can enter the passphrase in the middle, which is a password or a pass code. You can edit it or press enter directly. If it is null, you will be prompted. The generated RSA file storage location is displayed in the window. If it is on the XP system, the location should be "C: \ Documents ents and Settings \ USERNAME \. SSH \
.************************************************************************
Copy the Git remote address into the leader project.
Right-click anywhere on the PC and choose Git bash here
Then enter Git clone git@github.com:gpwner/recyclerview.git, and wait for clone to finish.6.
new features switched to branch'Dev'MacBook-pro-4:p Ondo wupeiqi$ Vim app01/views.py # Continue to develop half of the other features MacBook-pro-4:p ondo wupeiqi$ git Add. # Submit new feature MacBook-pro-4:p Ondo wupeiqi$ git commit-m'Continue development Complete'# Submit function [Dev C0bfb27] continued development completed1File changed,1Insertion (+) MacBook-pro-4:p Ondo wupeiqi$
CataloguePreface Warehouse (Repository)
SOURCE Warehouse Developer Repository Branch (Branch)
Permanent Branch Temporary Branch Workflow (Workflow) Summary reference
Preface
(This article assumes that you have a basic git basic concepts, operations have a certain understanding, such as no relevant git knowledge, you can refer to the pro git book for relevant l
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.