Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Checking out a remote branch without creating local branch (detached head?)

Harpy July 21, 2022

I'd like to be able to check out a remote branch to review some PR code without creating a local branch as I will not be committing any code. It's not a huge deal since I can just delete the local branch after reviewing, but I'd prefer to skip that step if possible. I know it's possible to check out a detached head (?) when checking out a commit that is not current to any branch.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events