git 回滚代码(六)
1. 未提交 1)已经在工作区修改了文件,但还未执行 git add 提交到暂存区。 2)已经执行了 git add 提交到暂存作,但还未执行 git commit 提交本地仓库。 # 这样等于
...Read more...
数人世相逢,百年欢笑.
1. 未提交 1)已经在工作区修改了文件,但还未执行 git add 提交到暂存区。 2)已经执行了 git add 提交到暂存作,但还未执行 git commit 提交本地仓库。 # 这样等于
...Read more...
为 git commit 设置默认模板 vim ~/.gitmessage [#id] title [问题描述] 1. ... [问题原因] 1. ... [解决方案] 1. ... vim ~
...Read more...
github 技巧 查找文件 在任何仓库, 按 t 查找文件, 前提是浏览器中没有插件占用这个键 Octotree https://github.com/ovity/octotree 浏览器插件
...Read more...
在 github 上提交 pr 1. fork 别人的 github 到自己的 github 上 2. clone git clone git@github.com:liuhonghe/tmp.
...Read more...
git 设置代理 git config --global http.proxy http://IP:1080 git config --global https.proxy https://IP
...Read more...
git 分支 git checkout -b dev # 相当于 # git branch dev # git checkout dev vim newfile git commit -a -m
...Read more...
github 删除某个文件的提交历史 解决误传账号密码信息的情况 之前在https://github.com/liuhonghe/translate的脚本里,密钥什么的都写上了,其实也没什么,但
...Read more...