git
乔小乔jojo
https://jasmine-na.github.io/
展开
-
问题1:有关使用 Hexo 和 GitHub 搭建博客,出现 hexo -d 报错如何解决?(windows下)
INFO Deploying: gitINFO Clearing .deploy_git folder...INFO Copying files from public folder...warning: LF will be replaced by CRLF in 2016/10/26/hello-world/index.html.The file will have its ori翻译 2016-10-26 17:39:08 · 1747 阅读 · 0 评论 -
如何创建.gitignore文件,忽略git不必要提交的文件
1、在需要创建 .gitignore 文件的文件夹, 右键选择Git Bash 进入命令行,进入项目所在目录。2、输入 touch .gitignore ,生成“.gitignore”文件。3、在”.gitignore” 文件里输入你要忽略的文件夹及其文件就可以了。(注意格式)我的文件: .gitignore.deploy_git/node_modules/public/翻译 2016-10-28 11:01:01 · 64934 阅读 · 0 评论 -
mac下git需忽略的文件处理办法(mac)
在.git同级目录下新建.gitignore文件,将要忽略的文件写进去即可。忽略前后:原创 2016-10-27 01:31:03 · 4051 阅读 · 0 评论 -
hexo+github(windows版+ssh版),搭建Hexo博客并部署到Github
ssh优点:http部署时每次要输入github用户名密码,ssh不需要。 首先走完http版:http://blog.csdn.net/weixin_36401046/article/details/52942683设置SSH keys1、在Git Bash输入以下指令(任意位置点击鼠标右键),检查是否已经存在了SSH keys。 ls -al ~/.ssh2、如果不存在就没有关系,如果存在的翻译 2016-10-26 18:41:21 · 867 阅读 · 0 评论 -
hexo+github(windows版+http版),搭建Hexo博客并部署到Github
工具/原料 • Windows(Mac也是差不多,可参照) • Git • Node.js安装Hexo1、利用 npm 命令即可安装。在任意位置点击鼠标右键,选择Git Bash。2、输入命令: npm install -g hexo 注意:-g是指全局安装hexo。创建Hexo文件夹1、新建文件夹 Hexo 2、 cd Hexo hexo init原创 2016-10-27 09:42:09 · 629 阅读 · 0 评论 -
ssh是否连接成功
ssh -T git@github.com输出 You’ve successfully authenticated 表示添加key 成功,原创 2016-10-27 00:27:31 · 3076 阅读 · 0 评论 -
osx系统git下载地址
osx系统git下载地址: https://sourceforge.net/projects/git-osx-installer/files/?source=navbar原创 2016-10-27 00:19:07 · 567 阅读 · 0 评论 -
问题2:有关使用 Hexo 和 GitHub 搭建博客,出现 hexo -d 报错如何解决?(windows下)
bash: /dev/tty: No such device or addresserror: failed to execute prompt script (exit code 1)fatal: could not read Username for 'https://github.com': Invalid argumentFATAL Something's wrong. Maybe y翻译 2016-10-26 17:55:12 · 2085 阅读 · 0 评论 -
git手册
git init # 初始化本地git仓库(创建新仓库) git config –global user.name “xxx” # 配置用户名 git config –global user.email “xxx@xxx.com”转载 2016-10-26 11:32:53 · 243 阅读 · 0 评论 -
hexo d后 ERROR Deployer not found: git
$ hexo d ERROR Deployer not found: git npm install hexo-deployer-git --save 即可。原创 2016-10-27 00:22:37 · 68817 阅读 · 57 评论