Trustie website Code hosting usage Guide

Source: Internet
Author: User
Tags hosting git client

"Chinese github" Bash Trustie official website, start code hosting ...


1. New Project

2. Project configuration information



3. Add team members information to facilitate collaborative development, shared programming



4. Create a new version library

4.1 Creating a Page

4.2 Repository Fill in the necessary information, Please remember the password, after the submission of the code needs to enter

5. Create a folder locally and store the code



6. How to submit the code, method one: Use the GitHub official client

6.1 Using Githua official client

6.2 GitHub Client Operation Flow:

L Use the following command

git init # initializing the Local warehouse

git remote add trustie http://[email protected]/macover/projectv1.git

git add README

git commit-m " Submit README file

git config http.postbuffer 524288000 # Set Local Post Cached as 500MB , you can not perform

git push-u trustie Master

L operation as shown

6.3 The commands used are as follows and are displayed directly on the website

6.4 The site can see the submitted information after the submission is successful

7. method of submitting the code, method two: using the Msysgit tool

7.1 Installing the Git client under Windows http://msysgit.github.io/

7.2 Use the following command to configure

$git config--global user.name "your_name"

$git config--global user.email "Your_email"

Note: Name and the Email is used to set your user name and contact information ( User.Name and the User.email must be filled in, these will be used when the repository is submitted ,  one of the name and the Email to and forge.trustie.net Keep the login name and password consistent on the To facilitate code contribution statistics ).

7.3 Use the following command to synchronize the local warehouse with the remote repository

$ git remote addtrustie http://[email protected]/macover/projectv1.git

$git Pull Trustie Master

Note: Gitpull The action prompts you for the key when the user creates the repository on the site, which controls only the team member to submit the code


7.4 Code submission commands consistent with GitHub use commands



Related Article

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.