![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Git
水木日月珠
这个作者很懒,什么都没留下…
展开
-
Linux terminal, CMD 和 Git 中的代理设置
CMD 设置代理在 cmd 环境下设置代理可能不是很常用,但是某些情况下还是可能会用到,比如公司的电脑只能通过设置代理访问外网,而你需要在 cmd 环境下使用 gem 命令更新文件时。当然,如果你使用某些代理软件为所有通讯设置了代理,那就不需要这些设置了。为 cmd 设置代理很简单,首先打开 cmd (win + R,输入 cmd,然后按 enter 键),然后输入如下原创 2014-02-04 12:37:31 · 941 阅读 · 0 评论 -
Git: Add submodule with a specific version
Add submodule with a specific version:git submodule add git://github.com/XXXXX/xxx.yyyy.git stm32_std_libgit statusgit submodule initgit submodule updatecd stm32_std_lib/git reset --hard V3.1转载 2014-12-03 17:03:18 · 861 阅读 · 0 评论 -
Git: Adding and Removing Tags on GitHub
1) Delete the v1.0 tag locally: git tag -d v1.02) Delete the v1.0 tag on GitHub (which removes its download link): git push origin :v1.03) Add a new tag for the updated release: git tag -a v转载 2015-01-10 12:37:48 · 571 阅读 · 0 评论 -
Git: Removing commits on remote
> git reset HEAD^ --hard> git push -f原创 2015-02-13 12:00:10 · 1095 阅读 · 0 评论