使用 git-open 插件在命令行打开 github 页面
文章目录
方法
cd .oh-my-zsh/plugins/
进入 oh-my-zsh 的插件目录git clone https://github.com/paulirish/git-open.git ./git-open
复制代码到插件目录code .zshrc
编辑plugins=(git git-open)
- 重新打开命令行或者
source ~/.zshrc
- cd 到 git 项目输入
git open
即可
用途
没啥用,就是方便一些操作,实际输入git config --get remote.origin.url
也能直接找到 git 项目的地址
文章作者 P.X.C
上次更新 2023-01-20
许可协议 不允许任何形式转载。