git push

Updated: 30 May 2024

Push everything to a new remote

git push new-remote --all
git push new-remote --tags
# Also push remote branches to new-remote, even where local copies do not exist.
git push new-remote 'refs/remotes/origin/*:refs/heads/*'

Leave a comment