Git Portable for PortableApps.com
Git for Windows focuses on offering a lightweight, native set of tools that bring the full feature set of the Git SCM to Windows while providing appropriate user interfaces for experienced Git users and novices alike.
Packaged with this PortableApps build is the BASH emulation used to run Git from the command line. *NIX users should feel right at home, as the BASH emulation behaves just like the "git" command in LINUX and UNIX environments.
Runtime dependencies
- 32-bit or 64-bit version of Windows Vista or greater.
Support matrix
| OS | 32-bit | 64-bit |
|---|---|---|
| ReactOS 0.4.14 | ||
| ReactOS 0.4.15 | ||
| Windows XP | ||
| Windows Vista | ||
| Windows 7 | ||
| Windows 8 | ||
| Windows 10 | ||
| Windows 11 |
Legend: not supported;
not applicable;
no data;
supported but not verified;
verified;
Note: With version 2.27 the mintty terminal is stackdumping on Windows 7 and possibly Vista.
The last version supported and tested on Windows 7 is 2.26.2.
Status
This PortableApps project is in beta stage.
Todo
- Documentation
Installation
Download
Since this is not an official PortableApp the PortableApps installer must be download first. Navigate to https://github.com/uroesch/GitPortable/releases for a selection of releases.
Install via the PortableApps.com Platform
After downloading the .paf.exe installer navigate to your PortableApps.com Platform
Apps Menu ❶ and select Install a new app (paf.exe) ❷.
From the dialog choose the previously downloaded .paf.exe file. ❸
After a short while the installation dialog will appear.
Install outside of the PortableApps.com Platform
The Packages found under the release page are not digitally signed so there the installation is a bit involved.
After downloading the .paf.exe installer trying to install may result in a windows defender
warning.
To unblock the installer and install the application follow the annotated screenshot below.
- Right click on the executable file.
- Choose
Propertiesat the bottom of the menu. - Check the unblock box.
Build
Windows
Windows 10
The only supported build platform for Windows is version 10 other releases have not been tested.
Clone repositories
git clone https://github.com/uroesch/PortableApps.comInstaller.git
git clone -b patched https://github.com/uroesch/PortableApps.comLauncher.git
git clone https://github.com/uroesch/GitPortable.git
Build installer
cd GitPortable
powershell -ExecutionPolicy ByPass -File Other/Update/Update.ps1
Linux
Docker
Note: This is currently the preferred way of building the PortableApps installer.
For a Docker build run the following command.
Clone repo
git clone https://github.com/uroesch/GitPortable.git
Build installer
cd GitPortable
curl -sJL https://raw.githubusercontent.com/uroesch/PortableApps/master/scripts/docker-build.sh | bash
Local build
Ubuntu 20.04
To build the installer under Ubuntu 20.04 Wine, PowerShell, 7-Zip and when building headless
Xvfb are required.
Setup
sudo snap install powershell --classic
sudo apt --yes install git wine p7zip-full xvfb
When building headless run the below command starts a virtual Xserver required for the build to succeed.
export DISPLAY=:7777
Xvfb ${DISPLAY} -ac &
Clone repositories
git clone https://github.com/uroesch/PortableApps.comInstaller.git
git clone -b patched https://github.com/uroesch/PortableApps.comLauncher.git
git clone https://github.com/uroesch/GitPortable.git
Build installer
cd GitPortable
pwsh Other/Update/Update.ps1
Ubuntu 18.04
To build the installer under Ubuntu 18.04 Wine, PowerShell, 7-Zip and when building headless
Xvfb are required.
Setup
sudo snap install powershell --classic
sudo apt --yes install git p7zip-full xvfb
sudo dpkg --add-architecture i386
sudo apt update
sudo apt --yes install wine32
When building headless run the below command starts a virtual Xserver required for the build to succeed.
export DISPLAY=:7777
Xvfb ${DISPLAY} -ac &
Clone repositories
git clone https://github.com/uroesch/PortableApps.comInstaller.git
git clone -b patched https://github.com/uroesch/PortableApps.comLauncher.git
git clone https://github.com/uroesch/GitPortable.git
Build installer
cd GitPortable
pwsh Other/Update/Update.ps1