Posts tagged 'howto'
Tag: howto
How to get all branches from a git remote and push them to a new remote
git push newremote refs/remotes/oldremote/*:refs/heads/*
This command will push all branches from the oldremote to the newremote. The
refs/remotes/oldremote/* part specifies that we want to push all branches from
the oldremote, and the refs/heads/* part specifies that we want to push them
to the newremote as branches.
For tags, that would not be so much complex, just git push newremote --tags
would be enough.
Found at https://www.metaltoad.com/blog/git-push-all-branches-new-remote.
How to install Python 2.7 on Ubuntu 24.04 (24.10)
Recently I needed to work on the upgrade and migration of a project that was using Mediasoup… version 1.2.8, published 8 years ago and totally outdated up to the point that the documentation for that version was removed from the Mediasoup website:
mediasoup v1 is no longer documented. Sorry. Anyway it’s no longer maintained so please move to the latest version.