是否有可下载的 Linux git 客户端而无需安装?

Ali*_*aka 7 git command

我想在我要发货的产品中使用 git 客户端。

问题是安装我的产品的机器没有安装 git。安装它需要大量的官僚工作,我想避免这种情况。

是否有一个可以在所有 linux 64 位发行版上运行的 git 二进制文件?

在 git's official site,我找不到这样的选项 - 只是不同包管理器和 Linux 风格的安装说明。

有许多 Linux 应用程序为所有 Linux 发行版提供单个可执行文件,例如Sublime。知道为什么 Git 不同吗?

nxn*_*nev -2

Github Desktop有一个非官方的AppImagehttps ://github.com/shiftkey/desktop/releases

只需按照说明操作即可:

# Download it
wget https://github.com/shiftkey/desktop/releases/download/release-1.1.1/GitHubDesktop-linux-x86_64-1.1.1.AppImage

# Make it executable
chmod u+x GitHubDesktop-linux-x86_64-1.1.1.AppImage

# Run it (you can also double-click it)
./GitHubDesktop-linux-x86_64-1.1.1.AppImage
Run Code Online (Sandbox Code Playgroud)

它应该看起来像: