CentOS 7 安裝最新版 git

CentOS 7 的預設 yum repository 版本是 1.8 如果想要安裝最新版的 git 可以使用 WANDisco repository 直接在 cmd 裡下 1yum install [http://opensource.wandisco.com/centos/7/git/x86\_64/wandisco-git-release-7-2.noarch.rpm](http://...

Posted on  | 0 Comments

git 匯出特定版本到最新版本(或其他版本)打包檔案

直接上指令如下 1git archive --output=file.zip --format=zip HEAD $(git diff-tree -r --name-only --diff-filter=ACMRT 8a2439 HEAD) --diff-filter 裡的意義為: A = Added 增加的檔案C = Copied 複製加入追蹤的檔案M ...

Posted on  | 0 Comments