Closed hotoo closed 7 years ago
Sometimes, branch name is unreadable for people, you can add a description for this branch:
$ git branch --edit-description $ git config branch.youBranchName.description youDescriptionHere
gitopen need show the description when show remote branch option menu.
$ gitopen mr ? Choose remote brance to compare: (Use arrow keys) ❯ origin/MS146182233844965268_20160428 (show description here) origin/MS146182233844123456_20160620 (another description) origin/master
$ git branch | sed 's/^ /_/' | awk '{desc=""; "git config branch."$2".description"|getline desc ; print $1" "$2" "desc}'|sed 's/^_/ /g'
auto open base branch when open PR/MR, not need this feature.
Sometimes, branch name is unreadable for people, you can add a description for this branch:
gitopen need show the description when show remote branch option menu.