![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
git
Léon's Blog
一只野生程序猿
展开
-
git
1, git tag 记录当前版本库状态 1.1 给最近一次提交打个标签,git 里面叫“里程碑”。 1.2 对 git tag 的初次理解: 对当前最近一次 commit ID 进行记录来实现对当前版本库状态的保存。 用下面的操作就验证一下: 可以看出这个 tag 跟 master 都处于 refs 下面,我的理解就是他只是对版本库当前状态的一个引用而已。 2转载 2015-11-05 09:48:25 · 384 阅读 · 0 评论 -
git bash SSH
ssh是一种网络协议,用于计算机之间的加密登录。ssh原理及应用可参考: SSH原理与运用(一):远程登录 生成ssh key步骤 这里以配置github的ssh key为例: 1. 配置git用户名和邮箱 git config user.name "用户名" git config user.email "邮箱" 在config后加上 --global 即可全转载 2015-11-23 01:48:52 · 673 阅读 · 0 评论 -
[git]ssh: Could not resolve hostname github.com: nodename nor servname provided, or not known
ssh: Could not resolve hostname github.com: nodename nor servname provided, or not known This sounds like a DNS issue. Try switching to another DNS server and see if it works. OpenDN转载 2016-05-01 14:15:51 · 9137 阅读 · 0 评论