随笔分类 -  git

git url ssh和https相互切换
摘要:Changing a remote's URLThegit remote set-urlcommand changes an existing remote repository URL.Tip:For information on the difference between HTTPS and ... 阅读全文
posted @ 2015-01-21 13:45 宁静*勤奋 阅读(6439) 评论(0) 推荐(0)
git常用命令
摘要:1.安装Git后首先要做的事情是设置你的用户名称和e-mail地址。这是非常重要的,因为每次Git提交都会使用该信息。它被永远的嵌入到了你的提交中git config --global user.name "JasonPinet"git config --global user.email jaso... 阅读全文
posted @ 2015-01-21 13:33 宁静*勤奋 阅读(240) 评论(0) 推荐(0)
git ssh key for github
摘要:第一:检查.ssh是否存在(ls -al ~/.ssh)$ ls -al ~/.sshLists the files in your .ssh directory, if they exist第二:产生新的SSH key(ssh-keygen -t rsa -C "your_email@exampl... 阅读全文
posted @ 2014-09-19 10:17 宁静*勤奋 阅读(270) 评论(0) 推荐(0)
window下git,TortoiseGit安装,以及和github托管项目
摘要:下载地址:http://msysgit.github.io/,安装时最好是先装git,再安装TortoiseGit。一、git安装1.第一步2.第二步3.第三步4.第四步5.第五步6.第六步7.第七步8.第八步二、TortoiseGit安装1.第一步2.第二步3.第三步4.第四步5.第五步6.第六步... 阅读全文
posted @ 2014-04-23 09:31 宁静*勤奋 阅读(411) 评论(0) 推荐(0)