Git: gpsa dont push heads.

This commit is contained in:
Dmitry Voronin 2024-10-16 03:25:56 +03:00
parent 77f3edbbc4
commit aba3546949
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -11,7 +11,8 @@
local remotes=($(git remote))
for remote in ''${remotes[@]}; do
echo -n "''${remote}: "
git push "''${remote}" --tags "refs/remotes/origin/*:refs/heads/*"
# git push "''${remote}" --tags "refs/remotes/origin/*:refs/heads/*"
git push "''${remote}" --tags "refs/remotes/origin/*"
done
}