Matt Bartel

Results 3 comments of Matt Bartel

Technically you do have all the commits once you clone, along with local copies of the remote branches. `git checkout` just sets up a tracking branch for the local copy...

I got this working on [my fork](https://github.com/mislav/gh-branch/compare/main...matt-bartel:main). Let me know if you'd like a PR.

The script just calls `gh repo clone`, so it should use your github cli settings. Try running `gh config set git_protocol ssh` to have it clone using ssh.