Git featured--github Tutorial

Source: Internet
Author: User
Tags version control system

GitHub:

git is a distributed version control system that was originally written by Linus Torvalds and used as the management of Linux kernel code. Since its launch, Git has also been a big success in other projects, especially in the Ruby community. git is currentlyused in many well-known projects, including Rubinius, Merb and Bitcoin. Git can also be used by deployment tools such as Capistrano and Vlad the Deployer.

Basic FunctionsAs an open source code base and version control system, GitHub has more than 1.4 million developer users. As more and more applications move to the cloud, GitHub has become the preferred method for managing software development and discovering existing code. As mentioned earlier, as a distributed version control system, there is no concept of the main library in Git, and each copy of the library can be used independently, and any inconsistencies between the two libraries can be merged. GitHub can host a variety of git libraries and provide a web interface, but unlike other services like SourceForge or Google code, GitHub's unique selling point is the simplicity of branching from another project. Contributing code to a project is simple: first click on the "Fork" button of the project site, then check out the code and add the changes to the code base you just separated, and finally request a code merge from the project owner through the built-in pull request mechanism. GitHub has already been called the code player's MySpace. Branching on GitHub is like in MySpace (or Facebook ... To make friends, you are constantly wired in the nodes of the social graph.The GitHub project itself is naturally managed on GitHub, but in a private,Public view is not visible in the library. Open source projects are free to host, but private libraries are not. One of Chris Wanstrath,github's developers is sure to financially support the hosting of the Free Library through a paid private library. Yes, that's exactly what we planned. By engaging with customers, developing famspam, and even developing GitHub itself, GitHub's private libraries have proven value for money. Anyone who wants to save time and want to be as far away from the page as other members of the team will get the value they really want from GitHub. On GitHub, users can easily find huge amounts of open source code.
Upload a project tutorialregister your account and log in to the website firstGiuhub official website: https://github.comDownload tool: Https://desktop.github.com

Law One:
1. Download and install the GitHub Desktop.app

I can move myself to the Applications folder if your ' d like. This would keep your Downloads folder uncluttered. If you want, I can move myself to the application folder. This will make your download folder tidy and orderly. 2. Open The GitHub desktop page,normal prompts you to log in to the page (login can)If there is no prompt,Click on the upper left + sign, select clone click Log In login (close after login)





3. Click on the top left + sign, Create to fill in the name (I fill in jack) and select the pathClick Create repository OK

4. At this point your path appears under this file and GitHub desktop also displays this file



5. Drag into your project in the Jsck file,
then write a description of the text (the text should be changed to make plain text)Name: README (Must drop)Right-click on the text file to display the introduction, after writing to change the extension to. MDnamely: Readme.md




6. Go back to GitHub Desktop Click on the file name you just saw Jack, you'll find a lot more files


Fill in:Summary: overview Description: Descriptionthen commit to master commits
7. Click on the top right publish Post fill in the description pulish Repositor (need to wait a while)

8.Publish changes to sync Sync completed successfully upload

9. Go to the Web to log in to your GitHub and you will find the uploaded file



Click on my last Jack file, OK





Law II:in the top left corner, click Add

Select the project you want to add,

Create&add repository OK


you will see the same interface as the FA step 6, after which the ibid ....
Law III
1 Create a warehouse after logging in:Upper Right corner + number Select New reposltory


2. Fill in the Warehouse name and select Publib below optional



3. Open GitHub Desktop Click on the upper left corner + clone (if login is displayed, log in first, if you do not have a repository you created, turn off the software, reopen it) will display the warehouse I created from the GitHub site, select the Warehouse, click Clone Demo Clone Warehouse



4. Select the storage path, clone clone, the corresponding path will show the warehouse file, open the file will show readme.md narrative file



5. Drag into the document you want to upload and go back to GitHub Desktop

Fill in: Summary:OverviewDescription: DescriptionThen commit to Master commits


6 Click on the sync Sync complete on the right to upload successfully

7. Web Login for your github verification

Git featured--github 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.