mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-04-02 22:25:47 +02:00
Add notARepository description to config docs
This commit is contained in:
parent
0a58cb2877
commit
9c52eb9d6f
@ -340,3 +340,24 @@ git:
|
|||||||
Result:
|
Result:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
## Launching not in a repository behaviour
|
||||||
|
|
||||||
|
By default, when launching lazygit from a directory that is not a repository,
|
||||||
|
you will be prompted to choose if you would like to initialize a repo. You can
|
||||||
|
override this behaviour in the config with one of the following:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
# for default prompting behaviour
|
||||||
|
notARepository: 'prompt'
|
||||||
|
```
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
# to skip and initialize a new repo
|
||||||
|
notARepository: 'create'
|
||||||
|
```
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
# to skip without creating a new repo
|
||||||
|
notARepository: 'skip'
|
||||||
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user