git-get | Blazingly fast git clone alternative | Runtime Evironment library
kandi X-RAY | git-get Summary
kandi X-RAY | git-get Summary
Blazingly fast git clone alternative
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of git-get
git-get Key Features
git-get Examples and Code Snippets
Community Discussions
Trending Discussions on git-get
QUESTION
After reading through:
How to remove a too large file in a commit when my branch is ahead of master by 5 commits
https://help.github.com/en/articles/working-with-large-files
https://rtyley.github.io/bfg-repo-cleaner/
https://help.github.com/en/articles/removing-sensitive-data-from-a-repository
Git - get all commits and blobs they created
I couldn't find an elegant solution of removing commits that exceed a given size (on disk). These commits do not necessarily have large files, but are large in and of themselves (have many ~200 KB dependencies).
How can such commits be removed from the repository?
...ANSWER
Answered 2019-Jun-04 at 13:19First a note :
git
compresses files when it stores them in its .git/
structure, and tries to store similar files using only their diffs ;
in that sense, it is difficult to spot "what commit uses up the most space in my .git/
folder".
If you want to measure how much space the files in a commit take up when checked out :
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install git-get
Arch Linux It's on AUR: yay install git-get rua install git-get ...
Linux but not Arch Linux We recommend that you download the latest release and untar the files: # Install git-get(1) globally: curl -fsSL https://github.com/b1f6c1c4/git-get/releases/latest/download/git-get.tar.xz | sudo tar -C /usr -xJv # Or, locally: mkdir -p ~/.local/ curl -fsSL https://github.com/b1f6c1c4/git-get/releases/latest/download/git-get.tar.xz | tar -C ~/.local/ -xJv
MacOS # Install dependencies, including realpath(1): brew install coreutils # Install git-get(1) globally: curl -fsSL https://github.com/b1f6c1c4/git-get/releases/latest/download/git-get.tar.xz | sudo tar -C /usr/local -xJv # Or, locally: mkdir -p ~/.local/bin/ curl -fsSL https://github.com/b1f6c1c4/git-get/releases/latest/download/git-get.tar.xz | tar -C ~/.local/ -xJv
Windows Similar as above, but you need to manually download the two files git-get and git-gets and put it in PATH. As for the documentation, you will need to browse it online.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page