From: Oleg Broytman Date: Mon, 13 Jan 2025 13:21:22 +0000 (+0300) Subject: Feat(clone2current): Configure `publish-docs` and `update-remotes` X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=65fbd1d95d1edc2c9d935f02a47364979f7195f5;p=cookiecutter.git Feat(clone2current): Configure `publish-docs` and `update-remotes` --- diff --git a/clone2current b/clone2current index 9ec08df..b7cb5d0 100755 --- a/clone2current +++ b/clone2current @@ -35,6 +35,11 @@ else fi && "$HOME"/prog/git-scripts/set-commit-date-recursive && +echo /publish-docs >>.git/info/exclude && +echo /update-remotes >>.git/info/exclude && +git config update-remotes.files publish-docs && +cp -p "$HOME"/current/projects/m_lib/update-remotes . && + cd "$source_dir" && if [ -n "$directories" ]; then dest_dir="$directories/$dest_dir"