jlord / git-it-electron

:computer: :mortar_board: Git-it is a (Mac, Win, Linux) Desktop App for Learning Git and GitHub
BSD 2-Clause "Simplified" License
4.66k stars 1.17k forks source link

Reduce the Size of Portable Git #59

Open jlord opened 9 years ago

jlord commented 9 years ago

In Windows we need to use Portable Git but this adds about 80mb. Checkout the assets directory in the repo. Yikes :scream:

Are there parts we can pull out to reduce the size? We're just spawning the Git CLI.

Note We've pulled it from the OS X and Linux release versions so they can be lighter :dash:

waldoj commented 9 years ago

Do you mean this directory, or is Portable Git a different repo entirely?

jlord commented 9 years ago

@waldoj I've copied the entire Portable Git directory and dropped it into the project because I don't know if there are things I can pull out of Portable Git and still have it work for what I need. But it's quite large so I'd like to know what is, if anything, safe to remove from inside of Portable Git.

waldoj commented 9 years ago

Got it!

rambasnet commented 2 years ago

Was there any particular reason to use PortableGit instead of System git? I've built and tested without PortableGit on Windows and the app size is similar to Linux and Mac: Here are the version 4.5.0 releases. https://github.com/rambasnet/git-it-electron/releases/tag/v4.5.0