rm head from list

pull/5370/head
bunsenstraat 4 months ago committed by Aniket
parent 2d99f03900
commit 6fcf289696
  1. 1
      libs/remix-ui/git/src/components/panels/commands/pushpull.tsx

@ -126,6 +126,7 @@ export const PushPull = () => {
} }
const remoteBranches = context.branches && context.branches.length > 0 && context.branches const remoteBranches = context.branches && context.branches.length > 0 && context.branches
.filter(branch => branch.remote && branch.remote.name === context.upstream.name) .filter(branch => branch.remote && branch.remote.name === context.upstream.name)
.filter(branch => branch.name !== 'HEAD')
.map(repo => { .map(repo => {
return { value: repo.name, label: repo.name } return { value: repo.name, label: repo.name }
} }

Loading…
Cancel
Save