mirror of
https://github.com/TheLocehiliosan/yadm
synced 2026-03-02 03:49:29 +00:00
Set status.showUntrackedFiles to "no"
Each time the yadm repository is initialized or cloned, set `status.showUntrackedFiles` to "no". This prevents untracked files and directories from showing up in status commands. This seems to be the most sensible default, because usually there will be MANY untracked files in a user's $HOME directory.
This commit is contained in:
3
yadm
3
yadm
@@ -390,6 +390,9 @@ function configure_repo() {
|
||||
#; set the worktree for the yadm repo
|
||||
git config core.worktree "$YADM_WORK"
|
||||
|
||||
#; by default, do not show untracked files and directories
|
||||
git config status.showUntrackedFiles no
|
||||
|
||||
#; possibly used later to ensure we're working on the yadm repo
|
||||
git config yadm.managed 'true'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user