These scripts were written along with the miniseries of articles about
Git LFS on mslinn.com
.
The articles explain how to install and use these scripts.
checksums
Computes and / or compares CRCs with previous valuesdelete_github_repo
Deletes the given GitHub repo without promptingset_remotes
Savesremotes.origin.url
andlfs.url
giftless
Rungiftless
servergit_lfs_test_data
Downloads test data and synthesizes small filesgit_lfs_test_server
Run `Git LFS Test Serverls-files
Frontend forgit ls-files
new_bare_repo
Creates a bare repononlfs
lists files that are not in Git LFSsetup_git_lfs_eval_server
Calls other commands to create directory structures for each evaluation scenario, including bare Git repositories and Git LFS repositoriessetup_git_lfs_eval_client
Calls other commands to download test data and clone Git repositories for each scenariounmigrate
Reversesgit lfs migrate import
for a given wildmatch pattern
$ git clone https://github.com/mslinn/git_lfs_scripts.git
$ echo "$(pwd)/git_lfs_scripts/bin:\$PATH" >> ~/.bashrc
$ source ~/.bashrc
$ sudo ln -s "$( which ls-files )" /usr/local/bin/lfs-files
$ sudo ln -s "$( which ls-files )" /usr/local/bin/track
$ sudo ln -s "$( which ls-files )" /usr/local/bin/untrack