Xcode Git client + gitbucket server using integrated induction

Source: Internet
Author: User
Tags git client

1. Instructions before use: Do not know xcode,git, please self-degree Niang, do not know Gitbucket, can refer to the article: Git set up-gitbucket sledgehammer

2. Create a git step

1> Create an account in Gitbucket, create it under Account repository

  

After the successful creation, there will be git statement prompts, respectively, corresponding to the new Git project and the existing Git file project, very user-friendly:

   

2> Local, upload git files via terminal

( Hint: Execute the following code if you do not find the file or folder, it is recommended to go to the submenu or the parent menu to try again )

For No. git files project, need to be a . git file , execute the following statement on the path where the project is located

$ git init

$ git Add.

$ git commit-m ' initial project version '

Then go back to the parent directory to generate the Git folder with the following statement

$ CD.

$ git clone--bare Test test.git

Then use the hint statement to upload the contents of the git folder , which may require you to enter your account number and password on the gitbucket.

$git Remote Add Origin Http://xxxx.git

$git push-u Origin Master

After success, you can see your project source on the Gitbucket.

3. Download the code using Xcode

On the Xcode menu of source Control, Check out the popup page to enter the server git path.

Xcode Git client + gitbucket server using integrated induction

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.