Skip to content

EXALAB/git-static

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

git-static

This is a repo that contain static binary built from the official Git, without any modification.

Currently only support all Android device architecture, but it should work on all Unix like platform as well as WSL on Windows.

If you want other architecture, you could modified the script and built it yourself.

Current Git version: 2.20.1

Compiling failed when using crossbuild-essentials-* provided in the repo, but success when using chroot environment, all thanks to the Legendary QEMU.

How to build:

  1. First use the bootstrap.sh script to create a chroot environment:

./bootstrap.sh armhf armhf

  1. Copy the build_git.sh file into the /root directory in chroot environment.

  2. Chroot into the chroot environment, and run the following command:

cd /root && chmod 755 build_git.sh && ./build_git.sh