Mac OS connection git@git.oschina.net

Source: Internet
Author: User

Mac OS connection git@git.oschina.net register a http://git.oschina.net first. Environment preparation: Xcode (direct AppStore download and installation) Git (available in external .) Source code installation process: extract the source package tar xjvf git-1.8.3.tar.bz2 compiled cd git-1.8.3. /configure -- prefix =/usr/localmake install sudo make install configure Git and connect to the git@git.oschina.net to synchronize the project to the git@git.oschina.net "Create Project" under your git.oschina.net ". On your computer, for future management convenience, you should create a unified folder management for projects on OSChina, such as gitOSChina. Store each project in the sub-directory. Open the command line tool and run the command: cd gitOSChina/JBCalendar/enter the project directory git init initialize the local library (only required for the first time) git remote add origin git@git.oschina.net: JustBen/jbcalendar. git adds the remote repository alias git add. add all files to the version library git commit-a-m "commit JBCalendar" add all modifications to the version library git pull origin master obtained from the remote library and merged to the local library git push origin master the modification is pushed to the remote database, the project is created. Updating a project is similar to creating a project. Open the command line tool and run the command cd gitOSChina/JBCalendar/to enter the project directory git add. add all files to the version library git commit-a-m "commit JBCalendar" add all modifications to the version library git pull origin master obtained from the remote library and merged to the local library git push origin master the modification is pushed to the remote database, update completed.

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.