天天看點

好教程推薦系列:Git教程/Git可視化用戶端/GitLab虛拟機

1、官網

https://gitforwindows.org/ https://git-scm.com/downloads https://git-scm.com/downloads/guis https://github.com/git/git

2、教程

https://www.liaoxuefeng.com/wiki/896043488029600 https://www.runoob.com/git/git-tutorial.html https://github.com/michaelliao

問:git如何擷取曆史版本項目?

1,建立一個檔案夾,bash指令執行“git clone http://XXXX/XX.git”代碼。

2,"git log"檢視曆史記錄,粘貼對應的希哈值。

3,執行 “git checkout 哈希值”,本目錄下代碼就對應版本代碼。

例如git checkout b0362a895d39061c0bc6f05c575af47de1b3f702

3、Gitlab :Gitlab Community Edition 社群版

(1)原版網站

https://about.gitlab.com/ https://packages.gitlab.com/gitlab/gitlab-ce/

(2)官方原版鏡像,清華鏡像源,推薦

https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/

(3)第三方打包好的Linux虛拟機,内含GitLab,強烈推薦。Bitnami虛拟機包含安裝和配置了GitLab CE的最小Linux作業系統。使用Bitnami虛拟機映像需要管理程式軟體,例如 VMware Player 或 VirtualBox。

https://bitnami.com/stack/gitlab/virtual-machine https://docs.bitnami.com/virtual-machine/get-started-vmware/ https://docs.bitnami.com/virtual-machine/faq/get-started/find-credentials/

下載下傳*.ova檔案,然後使用VMware Workstation Pro打開。軟體啟動,會顯示以下資訊:

1、使用浏覽器,輸入

https://192.168.101.156/

,打開gitlab的管理頁面,預設的使用者名是root,密碼是QpCRGy7A76ja。密碼是首次安裝ova檔案時,生成的随機字元串。

2、虛拟機的終端,預設的使用者名和密碼都是bitnami。

好教程推薦系列:Git教程/Git可視化用戶端/GitLab虛拟機

4、Git GUI Tools

(1)Sourcetree

一個用于Windows和Mac的免費Git用戶端。Sourcetree簡化了如何與Git存儲庫進行互動,這樣您就可以集中精力編寫代碼。通過Sourcetree的簡單Git GUI可視化和管理存儲庫。

https://www.sourcetreeapp.com/

SourceTree安裝與使用

使用Sourcetree,需要先注冊bitbucket賬戶:

https://id.atlassian.com/ https://bitbucket.org/

(2)海龜tortoisegit

https://tortoisegit.org/ https://github.com/TortoiseGit/TortoiseGit

TortoiseGit 使用教程

(3)GitKraken

Legendary Git client for Windows, Mac & Linux. Free for open source.

GitKraken 6.5.1安裝包,該版本仍然為免費版本,内附禁止自動更新的詳細說明。

https://www.gitkraken.com/ https://github.com/5cr1pt/GitCracken

(4)微軟GitHub Desktop

https://desktop.github.com/ https://github.com/desktop/desktop https://docs.github.com/cn/desktop

如果想導入gitlab或者bitbucket的項目,可以選擇克隆一個倉庫,然後輸入url:

好教程推薦系列:Git教程/Git可視化用戶端/GitLab虛拟機

(5)微軟github插件for VS

https://visualstudio.github.com/ https://github.com/github/VisualStudio https://marketplace.visualstudio.com/items?itemName=GitHub.GitHubExtensionforVisualStudio

請注意:以上兩個微軟工具既可以服務于GitHub項目,也能用于Gitlab項目。

(6)GitQlient

GitQlient,發音為git + client(/ gɪtˈklaɪənt /)是最初從QGit分叉的多平台Git用戶端。 如今,它已不再隻是一個分支,而是增加了許多新功能。

https://github.com/francescmm/GitQlient

(x)其他,更多使用Qt開發的GUI請參見另一篇博文

https://blog.csdn.net/libaineu2004/article/details/77369837

繼續閱讀