summaryrefslogtreecommitdiff
path: root/plugins/git-lfs/README.md
blob: 1222b27677695292c6c9ac25555c21a302f40c76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# git lfs plugin

The git lfs plugin provides [aliases](#aliases) and [functions](#functions) for [git-lfs](https://github.com/git-lfs/git-lfs).

To use it, add `git-lfs` to the plugins array in your zshrc file:

```zsh
plugins=(... git-lfs)
```

## Aliases

| Alias    | Command                             |
| :------- | :---------------------------------- |
| `glfsi`  | `git lfs install`                   |
| `glfst`  | `git lfs track`                     |
| `glfsls` | `git lfs ls-files`                  |
| `glfsmi` | `git lfs migrate import --include=` |

## Functions

| Function | Command                                         |
| :------- | :---------------------------------------------- |
| `gplfs`  | `git lfs push origin "$(current_branch)" --all` |