04 2017 档案

摘要:1、设置Git的user name和email:(如果是第一次的话) $ git config --global user.name "123" $ git config --global user.email "123@yeah.net" 2、生成密钥 $ ssh-keygen -t rsa -  阅读全文
posted @ 2017-04-25 11:35 nihaojs 阅读(724) 评论(0) 推荐(0)
摘要:1、.gitignore文件 :从未提交过的文件,从来没有被 Git 记录过的文件 也就是添加之后从来没有提交(commit)过的文件,可以使用.gitignore忽略该文件。只能作用于未跟踪的文件(Untracked Files)。 例如:.gitignore .DS_Storenode_modu 阅读全文
posted @ 2017-04-24 16:15 nihaojs 阅读(13303) 评论(1) 推荐(3)