摘要: 建立代码仓库init config$ git init当前目录被称为工作树$ git config --global user.name "Your Name Comes Here"$ git config --global user.email you@yourdomain.example.com设置用户名和邮箱,此信息会保存在每次commit的log中,使用git log察看常用操作add commit revert$ git add .将当前目录生成一个快照放到一个临时存储区域,创建索引$ echo "zh" > .gitignore$ gi 阅读全文
posted @ 2011-11-20 12:16 LemonLi 阅读(1017) 评论(0) 推荐(0) 编辑
摘要: 既然用上emacs了当然要学会怎么用emacs做笔记一个详细的教程http://markdown.tw/本想就用大纲模式算了, google了一下发现了markdown这个好东西先说下安装首先下载 markdown-mode.elhttp://jblevins.org/projects/markdown-mode/markdown-mode.el按照注释中提到的方法将下列代码加入.emacs配置中 (autoload 'markdown-mode "markdown-mode.el" "Major mode for editing Markdown fil 阅读全文
posted @ 2011-11-20 00:16 LemonLi 阅读(3314) 评论(0) 推荐(0) 编辑