20170704
20170704
我认为最深沉的爱 莫过于分开以后 我将自己 活成了你的样子
resolved
1. hexo git 发布注意事项
hexo每次deploy的时候都会重新生成文件,手动添加在github的文件会被直接删除,请把需要的文件放到 hexo folder/source文件夹中
2. git添加远程仓库
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 1.查看远程仓库
git remote
git remote -v(--verbose)
# 2.添加远程仓库
git remote add [shortname] [url]
# 3.获取远程仓库数据
git fetch [shortname]
# 4.推送至远程仓库
git push [shortname] [branch]
# 5.查看远程仓库的详细信息
git remote show [shortname]
# 6. 删除和重命名
git remote rname [beforename] [aftername]
git remote rm [shortname]
pending
reference
This post is licensed under CC BY 4.0 by the author.
