通过github使用git
[TOC] 安装git 进入Git官网Git官网,点击 Downloads 下载: 选择你的系统类型,我的是 Windows: 最新版本下载: 安装一切默认 在任意文件夹点击键盘shift+鼠标右键,出现下图中图标即完成: 打开 Git Bash, 输入git,回车得到如下图: 此时你的 Git 就已经安装完成啦! 绑定GitHub并提交文件 1.绑定GitHub 我们要用git上传文件到GitHub首先得利用SSH登录远程主机,而登录方式有两种:一种是口令登录;另一种是公钥登录。口令登录每次都要输入密码十分麻烦,而公钥登录就省去了输入密码的步骤,所以我们选择公钥授权。首先我们得在 GitHub 上添加 SSH key 配置,要想生成SSH key,就要先安装 SSH,不过我们安装了 Git Bash,其应该自带了 SSH。检验一下是否安装 SSH,我们在新建的文件夹中右键打开 Git Bash: 如上图所示,即已安装 SSH. 然后,输入 ssh-keygen -t rsa 命令**(注意空格)**,表示我们指定 RSA...
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 $ hexo new "My New Post" More info: Writing Run server $ hexo server More info: Server Generate static files $ hexo generate More info: Generating Deploy to remote sites $ hexo deploy More info: Deployment