[07] Use the GitHub URL as you would use the command line

【07】
Use the GitHub URL as you would with the command line

Now that the URL is mentioned, let's talk about it for a long time. Browsing GitHub using the UI is easy


Aspects are also good, but many times the fastest way is to use the URL to browse. For example, if I wanted to jump to a branch I was working on and wanted to see the difference between the branch and master, I would type /compare/branch-name after my repository name.

Briefly, check the difference between master and branch, as shown below:

You can add...XXX (branch name) after the name, such as mkdocs...pre-release I wrote, as shown below:

In this step, you can use keyboard shortcuts, Ctrl + L or cmd + L, to move the cursor directly to the URL (at least in chrome). Together these increase productivity.

Pro tip: Use the keyboard to move a web record on the chrome URL, use Shift+Delete or Shift+fn+Delete to delete a record. (For example, after merging the branch, you can delete it)

 

**

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324965931&siteId=291194637