git信息是根据文件夹里面的 .git文件夹保存相关配置的,删除此文件夹即可去掉git信息:

find . -type d -name ".git"|xargs rm -rf

# xargs - build and execute command lines from standard input

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

0%