git-lfs/docs/man/git-lfs-init.1.ronn

29 lines
711 B
Plaintext
Raw Normal View History

git-lfs-init(1) -- Ensure Git LFS is configured properly
========================================================
2014-06-02 22:14:53 +00:00
## SYNOPSIS
2015-07-07 14:47:31 +00:00
`git lfs init`<br>
`git lfs init` --force
2014-06-02 22:14:53 +00:00
## DESCRIPTION
Perform the following actions to ensure that Git LFS is setup properly:
2014-06-02 22:14:53 +00:00
2015-07-07 14:47:31 +00:00
* Set up the clean and smudge filters under the name "lfs" in the global Git
config.
* Install a pre-push hook to run git-lfs-push(1) for the current repository, if
run from inside one.
## OPTIONS
Without any options, `git lfs init` will only setup the "lfs" smudge and clean
filters if they are not already set.
* `--force`:
Sets the "lfs" smudge and clean filters, overwriting existing values.
2014-06-02 22:14:53 +00:00
## SEE ALSO
2015-03-19 19:30:55 +00:00
Part of the git-lfs(1) suite.