Skip to content

Instantly share code, notes, and snippets.

@doevelopper
Created March 20, 2018 23:15
Show Gist options
  • Save doevelopper/f29aaf0311d050789af62c74edda3f73 to your computer and use it in GitHub Desktop.
Save doevelopper/f29aaf0311d050789af62c74edda3f73 to your computer and use it in GitHub Desktop.
1. Create an empty repo in BitBucket
2. `git clone --bare [email protected]:user/repo.git`
3. `cd repo.git`
4. `git push --mirror [email protected]:user/repo.git`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment