git使用要点

本帖子是用来记录git的使用操作的,会在使用到新功能的时候进行更新,所以本贴是会进行较为长期的更新的

基本命令

初始化配置($username、 $useremail替换为自己的)

1
2
git config --global user.name $username
git config --global user.email $useremail
阅读全文

Hello World

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

Quick Start

Create a new post

1
$ hexo new "My New Post"

More info: Writing

Run server

1
$ hexo server

More info: Server

Generate static files

1
$ hexo generate

More info: Generating

Deploy to remote sites

1
$ hexo deploy

More info: Deployment