Created
July 20, 2025 09:26
-
-
Save RicoP/a367fdc9f8aad989d9e9a1c63cfb42fa to your computer and use it in GitHub Desktop.
Make a fork of a repo outside of github
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
git init | |
git remote add upstream https://gitlab.com/o9000/tint2.git | |
git remote add origin [email protected]:RicoP/tint2-fork.git | |
git fetch upstream | |
git checkout -b main upstream/master | |
git push -u origin main |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment