Use GitHub + sublime + markdwon to write articles, write blogs, and publish them to the blog center.

Source: Internet
Author: User
Tags git commands

Step 1: Install GitHub easily:

    1. Register as a GitHub user
    2. First download the GitHub Windows client;
    3. After the installation is complete, open the gitshell window. Here, the client has set the user name and password for you during installation and uploaded the public key to GitHub. You can directly use it without configuration;

      PS: Use

      Git config -- Global-l
      You can view it.
    4. Let's take a look at common git commands. Here, I strongly recommend Dr. Liao Xuefeng's blog. I won't tell you that I just followed him.
However, if you think that Mr. Liao is too much to read, and you only want to write a blog or something, read the following content.
 
Git command
.

Play with markdown in sublime
    1. Install sublime ).
    2. Install the sublime markdown plug-in and set syntax highlighting (how to install the plug-in)
    3. Note: The following sublime is a very elegant text editor that can read all the code.
Step 2: save local notes to GitHub

If the previous two steps have been completed seriously, you have done at least the following:

    • Registered GitHub account and created a repository, such as my: https://github.com/jiuyuehe/mdNote
    • Write a markdown instance on sublime and use the shortcut key
      M
      The markdown preview is enabled.

Use git name to publish local notes to remote [command form]

 
Git clone https://github.com/jiuyuehe/mdNote [change to the account you created]
Copy the Notes to the corresponding directory,
 
Git status [view status] git Add. [add all changed files] git commite-M "Add a new Note" [Submit] git push-u mdnote master [push to GitHub]
Don't forget to post your blog to cnblogs. In fact, I did this because I could easily write markdwon and send it to the blog Park.

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.