]> git.phdru.name Git - cookiecutter.git/commitdiff
Feat(clone2current): Configure `publish-docs` and `update-remotes`
authorOleg Broytman <phd@phdru.name>
Mon, 13 Jan 2025 13:21:22 +0000 (16:21 +0300)
committerOleg Broytman <phd@phdru.name>
Mon, 13 Jan 2025 22:54:13 +0000 (01:54 +0300)
clone2current

index 9ec08df527efc88a011f59bcc09e85a34f86d2a6..b7cb5d07470f230b644eb6ca57076ee3c4625fb0 100755 (executable)
@@ -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"