GitHub tips for using

Source: Internet
Author: User
Tags git commands

GitHub lets developers and designers around the world work together to communicate. GitHub not only offers a large number of open source projects, programming language code, he has also published Windows and OS X desktop applications, allowing us to seamlessly integrate GitHub at work.

However, there are many GitHub features that are not well known to most people, and the HPE control network collects 10 of the GitHub features that are not known to everyone.

1, drag gist code

Gist is a proprietary feature of GitHub. Allows us to manage code snippets. Of course, you can also browse and find a large number of code snippets in various languages. Gist is simple and intuitive to use. But, you know, you can add code files directly? Just drag and drop the file in gist, and the code in the file will be copied immediately. This can save a lot of time.

2. Create a folder from the Web interface

Most people who manage GitHub repositories are using the free GitHub app. GitHub also created an app called Webflow, which allows us to manage content on the Web interface.

Create a new file or folder directly on GitHub. New folder created by end of "/". Or specify a file extension, or click Submit file to create a new folder.

3. Use git URL short address

Just like we share photo articles on Sina Weibo. You can also share items on GitHub. However, the shared address may exceed the length of the Weibo limit.

Then we can shorten the URL and use GitHub's Git.io. Git.io will shorten your project address connection. You can also use the Gitio command to git.io the command line interface to shorten the address.

4. File Search

Working with new files, you can also quickly browse these files in any repository. This feature is not too obvious and requires a shortcut to press "T" on the keyboard to activate the file Finder function. Look up and down by pressing the up and down keys. Of course, you can also enter a file name to select a specific file.

5. Using GitHub Emoji

GitHub can also use Emoji, and we can find all the emoji codes in the Emoji Cheat sheet. This code can be added to the readme.md file for various projects.

6. Use the GitHub command line

While most people prefer to work with the GUI, there are people like the CLI (Command line Interface), and for such people, the Github CLI is the favorite. The Github CLI starts with the hub. It brings other commands that you can use with GIT commands. >> View Hub

7. Links

Sometimes we need to share or output special lines in our own file projects. GitHub can be implemented, we just need to add "#L" placed after the URL line number, please look at the picture.

8. Task List

GitHub expands the markdown to meet its needs, and now you can add a check box list on GitHub, using-[] or-[x] to represent a check item. Note that the check box only appears in the list item. "[]" must begin with "‐". Here's a box of examples:

-[x] Create a post.
-[x] Create a page.
-[x] Add images.
-[] published The Post.

The code will become the display:

9. Map, CSV and 3D rendering

Gihub supports CSV, and if you have a CSV file, Gihub will render the file into an interactive tabular data format. You can also search. In addition, Gihub will render the map in Geojson format, STL extension render 3D.

GitHub tips for using

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.