Skip to content

Commit

Permalink
Add checks
Browse files Browse the repository at this point in the history
  • Loading branch information
aurorarossi committed Nov 4, 2024
1 parent c9283d7 commit 27fd8ac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/make-multi.jl
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ has_outbranch = true
if !success(`git checkout $outbranch`)
has_outbranch = false
if !success(`git switch --orphan $outbranch`)
run(`git branch`)
run(`git status`)
@error "Cannot create new orphaned branch $outbranch."
exit(1)
end
Expand Down

0 comments on commit 27fd8ac

Please sign in to comment.