https://github.com/mslinn/git_lfs_scripts
Git LFS scripts
https://github.com/mslinn/git_lfs_scripts
git-lfs
Last synced: about 1 year ago
JSON representation
Git LFS scripts
- Host: GitHub
- URL: https://github.com/mslinn/git_lfs_scripts
- Owner: mslinn
- Created: 2025-01-24T13:47:39.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-01-27T16:45:06.000Z (over 1 year ago)
- Last Synced: 2025-02-06T13:42:34.378Z (over 1 year ago)
- Topics: git-lfs
- Language: Shell
- Homepage: https://www.mslinn.com/git/5100-git-lfs.html
- Size: 30.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Git LFS Scripts
These scripts were written along with the miniseries of articles about
[Git LFS on `mslinn.com`](https://www.mslinn.com/git/5100-git-lfs.html).
The articles explain how to install and use these scripts.
## Commands
* `checksums` Computes and / or compares CRCs with previous values
* `delete_github_repo` Deletes the given GitHub repo without prompting
* `set_remotes` Saves `remotes.origin.url` and `lfs.url`
* `giftless` Run `giftless` server
* `git_lfs_test_data` Downloads test data and synthesizes small files
* `git_lfs_test_server` Run `Git LFS Test Server
* `ls-files` Frontend for `git ls-files`
* `new_bare_repo` Creates a bare repo
* `nonlfs` lists files that are not in Git LFS
* `setup_git_lfs_eval_server` Calls other commands to create directory structures
for each evaluation scenario, including bare Git repositories and Git LFS
repositories
* `setup_git_lfs_eval_client` Calls other commands to download test data and
clone Git repositories for each scenario
* `unmigrate` Reverses `git lfs migrate import` for a given wildmatch pattern
## Installation
```shell
$ 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
```