Git actions
- {gitActionMenuItems.map((item) => { - return ( - - ); - })} - {gitStatus?.branch === null && ( -- Detached HEAD: push and PR actions are unavailable. -
- )} - {gitStatus && - gitStatus.branch !== null && - !gitStatus.hasWorkingTreeChanges && - gitStatus.aheadCount === 0 && - gitStatus.behindCount > 0 && ( -- Branch is behind upstream. Pull/rebase before opening a PR. -
- )} -