Share practical GitHub tutorials

Source: Internet
Author: User

Is GitHub common? However, you may not know how to use GitHub. This article will share with you various tips on using GitHub.

Recommended reading:

How to create an organization on GitHub

Usage in GitHub Linux

How to build a GitHub development environment using Eclipse in Windows

Source code for R language 3.0.1 has been submitted to GitHub

Import Maven project to Eclipse4.2 from GitHub

How to become a gardener for Open Source Services on Github

Ignore spaces when diff

Some modifications only add or remove spaces. Add? W = 1 can be ignored.

View the submission history of an author

Add? In URL? Author = username, for example:

  1. Https://github.com/rails/rails/commits/master? Author = dhh

Compare versions

Use a URL similar to the following to compare branches:

  1. Https://github.com/rails/rails/compare/master...4-1-stable

You can also use the following format:

  1. Https://github.com/rails/rails/compare/master@{1.day.agos...master
  2. Https://github.com/rails/rails/compare/master@{10-0410-0...master

If you want to compare it with the derived warehouse, add the name of the derived warehouse as the prefix:

  1. Https://github.com/rails/rails/compare/byroot:master...master
Embed Gist in HTML Format

Gists is a Git-based code snippet Service released by GitHub. The Gists page provides JavaScript code to embed Gist into other sites. However, JavaScript pasting on many sites is invalid. In this case, you can append. pibb to the Gist URL to get a pure HTML Version, and then copy and paste the HTML source code to other websites. Example https://gist.github.com/tiimgreen/10545817.pibb

For more details, please continue to read the highlights on the next page:

  • 1
  • 2
  • 3
  • Next Page

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.