Hacker News new | ask | show | jobs
by LoganDark 1298 days ago
> If you don't have the repo locally, it'll check it out for you. If you're not on the right commit/branch it'll swap to it for you.

Does it ask to do this? Checking out a branch is not so simple, maybe I have modified files locally and don't want to stash them right now.

1 comments

Yep! It does this. You'll be prompted with a popup to confirm if you want to switch branches. If you don't confirm it won't do anything.