Skip to content

Instantly share code, notes, and snippets.

View hellorahulsingh's full-sized avatar

Rahul Singh hellorahulsingh

View GitHub Profile
@hellorahulsingh
hellorahulsingh / migrate-repo-bitbucket-to-github
Last active July 30, 2025 09:52
Migrate bitbucket repo to github
1. Open you command prompt and run the below commands:
```
git clone --mirror https://myorg:SAMPLEh5jSWtUKX2zkkExANC75x3H434DUMMY@bitbucket.org/myorg/your-repo.git
cd your-repo.git
```
2. Create a repo by the name in Github: your-repo and then run the following commands
```
git remote set-url origin https://myorg:ghp_SAMPLE7ka579jPaPODUMMYVwGpFk6l1DUMMY@github.com/myorg/your-repo.git
git push --mirror