Skip to content
Discussion options

You must be logged in to vote

Yes — this transfers ALL commits, ALL branches, and ALL tags, not just main.

Explanation:

  • git clone clones the entire repository history by default
  • git push github --all pushes every local branch (main + feature branches)
  • git push github --tags pushes all tags

Nothing is lost:

  • ✅ Full commit history
  • ✅ All branches
  • ✅ All tags

The only things NOT migrated automatically are:

  • Pull Requests
  • Issues
  • Wiki
  • Pipeline configs (Bitbucket Pipelines)
  • Repository settings

If you want to double-check locally before pushing:

git branch -a
git log --oneline --all --decorate

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@deephq
Comment options

Comment options

You must be logged in to vote
1 reply
@deephq
Comment options

Answer selected by deephq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Repositories The core of version-controlled code storage Question Ask and answer questions about GitHub features and usage
2 participants