两侧同时换到之前的修订记录 前一修订版 后一修订版 | 前一修订版 |
public:it:git [2024/05/27 09:30] – [二、GIT 与 SVN 的区别] oakfire | public:it:git [2024/09/02 11:41] (当前版本) – [Usage] oakfire |
---|
* CentOS yum 默认只有1.7.1 版本, 但像github.com等网站需要高于此版本. 此时需要源码安装升级. | * CentOS yum 默认只有1.7.1 版本, 但像github.com等网站需要高于此版本. 此时需要源码安装升级. |
* 如果源码安装,[[http://github.com/git/git|github repo]], ''make'', ''make install prefix=/usr'', 如果不添加''prefix=/usr'', 默认会安装在当前home目录. | * 如果源码安装,[[http://github.com/git/git|github repo]], ''make'', ''make install prefix=/usr'', 如果不添加''prefix=/usr'', 默认会安装在当前home目录. |
| |
| ==== Tools ==== |
| * 显示仓库信息[[https://github.com/o2sh/onefetch|onefetch]], 这个不错 |
| |
==== Usage==== | ==== Usage==== |
* [[http://pcottle.github.io/learnGitBranching/|Learning git branching]] | * [[http://pcottle.github.io/learnGitBranching/|Learning git branching]] |
* [[https://nvie.com/posts/a-successful-git-branching-model/|git flow]],[[https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow|gitflow-workflow]] | * [[https://nvie.com/posts/a-successful-git-branching-model/|git flow]],[[https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow|gitflow-workflow]] |
| * [[https://jvns.ca/blog/2024/01/26/inside-git/|Inside .git]], 介绍 .git 文件夹内容 |
| |
==== Ignore ==== | ==== Ignore ==== |