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.