Tortoisegit with Msysgit in Git@osc Code Hosting for Dummies tutorial

Source: Internet
Author: User
Tags hosting

Command line too troublesome, swollen? Then use sleep time to solve a bit of efficiency problem, tortoisegit processing GitHub, as can handle Git @osc, although said can use GITK to pull up the graphical interface, but I do not want to see the black Command Prompt box, so, Near the turtle hair to the abnormal poo then began a new toss ....
Ok,windows system, Linux and Mac do not spray .....

download msysgit 
http://msysgit.github.io/ 
Download tortoisegit 
http://code.google.com/p/ tortoisegit/ 
First install Msysgit, do the following steps to configure  
click the icon  
 
Thick line nasty black small box, but this Linux font looks very cool ... &NBSP

Then go to your local git working folder and put it on g:/git 

Then initialize the git init 

Folder A hidden file appears underneath. git  

Then configure user name  
Git config -- global user . name "XXXX"  

git  config -- global user . email xxxx  @XXXXX   the XXXX on the

is your name instead, and the table commits two yo   
then pinch you can get a copy of the managed code from git and test the  

git clone http://git.oschina.net/oschina/git-osc.git
A code pinch is in the position of the picture below.

There are brothers to be crazy, above all the command line AH!!! Poo, the graphical interface pinch, OK, then we will have to explain Tortoisegit to deal with the above steps.
And then it's the installation of the Turtle Tortoisegit installation should all read it, English is not a problem

If the. Git folder above is not established, first go to the G:/git folder, right-click the folder, and then Git Create ....

in the popup dialog box tick make it bare



After entering, you will find a. git folder.
Then set, right-click on the blank tortoisegit>setting set the user name and mailbox information


Right-click in the user's working directory, choose Git clone, pop up the dialog box


After clicking OK, you find that there is a hidden folder in this folder. Git, then clone succeeds
If you create a new project, you can put the project Mypubuliu folder you want to host under the G:/git folder under the just-in-place git folder.
Then right-click the folder Tortoisegit-->add,
Then right-click Git Commit, "master" ... In the popup dialog box, enter the message message and click OK, at which point the index.jsp becomes a checkmark and commits to the local server
Then right-Tortoisegit-->push is committed to the remote server
The middle will be asked to enter the Git @OSC username and password, this should not be wrong?


Tortoisegit with Msysgit in [email protected] code-managed Fool Tutorial

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.