From ae6a9476e1c425e1a46d5cad93871ded95c2f701 Mon Sep 17 00:00:00 2001 From: Max Rydahl Andersen Date: Sun, 11 Nov 2018 12:31:48 +0100 Subject: [PATCH] have a comment on the format of the repo (#7366) * have a comment on the format of the repo i had to read the source of run.sh to figure out the logic - thought it would be good to have a comment about the format. * :pencil2: Tweaks --- source/_addons/git_pull.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_addons/git_pull.markdown b/source/_addons/git_pull.markdown index 9bfc6f8cca2..3ae5e0f2927 100644 --- a/source/_addons/git_pull.markdown +++ b/source/_addons/git_pull.markdown @@ -38,7 +38,7 @@ Load and update configuration files for Home Assistant from a [Git](https://git- } ``` -- **repository** (*Required*): Git URL to your repository (make sure to use double quotes). You have to add `.git` to your GitHub repository URL (see example configuration) +- **repository** (*Required*): Git URL to your repository (make sure to use double quotes). You have to add `.git` to your GitHub repository URL (see example configuration). The contents of the repository is assumed to be the root of Home Assistant `config/` folder. The configuration cannot be in a subdirectory, i.e., `configuration.yaml`, `groups.yaml`, etc. must be in the root of the repository. - **git_branch** (*Required*): Branch name of the Git repo. If left empty, the currently checked out branch will be updated. Leave this as 'master' if you are unsure. - **git_remote** (*Required*): Name of the tracked repository. Leave this as `origin` if you are unsure. - **git_prune** (*Required*): If set to true, the add-on will cleanup branches that are deleted on the remote repository, but still have cached entries on the local machine. Leave this as `false` if you are unsure.