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

37 lines
1.0 KiB
Plaintext
Raw Normal View History

git-lfs-init(1) -- Ensure Git LFS is configured properly
========================================================
2014-06-02 22:14:53 +00:00
## SYNOPSIS
`git lfs init` [options]
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.
2015-07-10 16:47:54 +00:00
* Install a pre-push hook to run git-lfs-pre-push(1) for the current repository,
if run from inside one.
2015-07-07 14:47:31 +00:00
## 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.
* `--local`:
Sets the "lfs" smudge and clean filters in the local repository's git
config, instead of the global git config.
* `--skip-smudge`:
Skips automatic downloading of objects on clone or pull. This requires a
manual "git lfs pull" every time a new commit is checked out on your
repository.
2014-06-02 22:14:53 +00:00
## SEE ALSO
2015-07-10 16:47:54 +00:00
git-lfs-uninit(1).
2015-03-19 19:30:55 +00:00
Part of the git-lfs(1) suite.