I have been using Github for more than 5 years, and today I would like to share some useful Gihub tips with you.

This article liver for a long time, quite attentively, we see the content will know.

If you think you’ve got something, don’t fuck for nothing! A “like”/” look “is my biggest encouragement. If you can do it three times (like + see + forward), I will feel even better. .

1. Create a Github resume with one click

Github. IO/you can create an online Github resume with one click.

When I attended the college entrance exam, there was an online Github resume in my profile. I think this will show the interviewer that you are an expert, which will raise some brownie points.

However, if you don’t have a Github project, don’t put it on your resume. The generated effect is shown below.

2. Personalize the Github homepage

Github currently supports custom display of some content on your profile page. The display effect is shown in the figure below.

Doing this is as simple as creating a repository with the same name as your Github account and customizing the readme.md content.

The custom content displayed on your home page is readme. md’s content (for 5 minutes if you don’t know Markdown).

This can also play out flowers! For example, with github-readme-Stats, an open source project, you can display dynamically generated Github statistics in readme. The display effect is shown in the figure below.

On the personalized home page this is not mentioned, interested partners to study.

3. Customize project badges

The project badges you see on Github are generated through shields. IO /. The badge for my JavaGuide project is shown below.

And not only can you generate static badges, shield. IO dynamically reads the status of your project and generates corresponding badges.

The generated badge effect that describes the status of the project is shown below.

4. Making faces

If you want to use in making expression, can look here: www.webfx.com/tools/emoji… .

5. Read the Github project source code efficiently

Github recently launched Codespaces, which offers an online IDE similar to VS Code, but is not yet fully developed.

Here are some of my most common ways to read the Github project source code.

5.1. Octotree is a Chrome plugin

It’s a cliche. It’s one of my favorite ways to do it. Using Octotree, the sidebar displays projects in a tree structure, giving us the IDE feel of reading source code.

5.2. Chrome extension SourceGraph

This is how I usually read the project source code when I don’t want to clone the project locally. Not only does SourceGraph allow us to view code elegantly on Github, it also allows us to do things like jump between classes and search for code.

When you download the plugin, your project home page will have a small icon as shown below. Click on this little icon to read the project source code online.

Using SourceGraph to read code looks like this, which is also a tree structure, but I personally don’t feel as comfortable as Octotree. However, SourceGraph has a lot of plug-ins built in, and it also supports jumping between classes!

5.3. Clone the project to the local PC

Clone the project locally and read it using your favorite IDE. Can be said to be the most sour cool way!

This is the way to go if you want to learn more about a project. A Git Clone is all you need.

5.4. Other

If you’re looking at front-end projects, consider stackblitz.com/.

The site will provide an online IDE similar to VS Code.

6. Enable Github Night mode with one click

The GitHub Dark Theme plugin allows you to change your GitHub Theme to a nighttime style.

7. Expand Github’s capabilities

Enhanced GitHub enables you to make your GitHub more usable. This Chrome plugin visualizes the size of your Github repository, the size of each file and allows you to quickly download individual files.

8. Automatically generate directories for Markdown files

If you want to create directories for Markdown files on Github, VS Code’s Markdown Preview Enhanced plugin will do the job.

The resulting directory effect is shown below. You can optimize the reading experience by clicking on the link in the table of contents to jump to the corresponding location of the article.

Outside the chain picture archiving failure, the source station might be hotlinking prevention mechanism, Suggestions to upload images saved directly (img – IcvUEqAY – 1604903412837) (guide-blog-images.oss-cn-shenzhen.aliyuncs.com/2020-11/iS H…).

9. Afterword.

I wrote this article last Saturday while sitting on the windowsill and spent the whole afternoon.

In addition to the tips I mentioned, I haven’t mentioned Github search tips, Github Actions, etc. If you are interested, do some research.

Let’s be honest: The Github search technique doesn’t have to remember all the commands posted on the web. You’ll find that you’re still using keyword searches and Github’s built-in filtering.

Search “JavaGuide” on wechat and reply “Computer Basics” to get illustrated Computer basics + personal original Java interview manual.