git中,给分支添加备注

1.添加备注

javascript 复制代码
git config branch.分支名.description 备注信息

例如:git config branch.master.description 该分支是用于打包发布生产环境的分支

2.查看某个分支备注

javascript 复制代码
git config branch.分支名.description

3.通过插件查看所有分支备注

全局安装

javascript 复制代码
npm i -g git-br

查看

javascript 复制代码
git br
相关推荐
小前端学徒18 分钟前
重新修改未提交到远程分支不是最后一次commit的内容
git
执键行天涯42 分钟前
idea中已经被git缓存追踪的文件,如何让git重新忽略
git·缓存·intellij-idea
hkhkhkhkh1231 小时前
Git push 失败(remote unpack failed: Missing tree)解决方案
linux·git
拾贰_C2 小时前
【anaconda】anaconda安装配置,git安装配置以及pytorch安装
人工智能·pytorch·git
Just_Paranoid5 小时前
【Gerrit Patch】批量下载 Gerrit 提交的 Patch
git·gerrit·shell·patch
T - mars18 小时前
Pycharm中使用git
ide·git·pycharm
jason_yang19 小时前
Workspace搭建Vue3+组件分离的Monorepo项目
git·npm·前端工程化
鸽鸽程序猿1 天前
【Git】Git 简介及基本操作
git
ziyue75751 天前
idea终端添加git-bash,支持linux的shell语法
linux·git·bash·idea·软件
风也温柔☆2 天前
idea 拉取分支git pull报错 The branch to pull from should be selected
git·intellij-idea·debug·git pull