使用命令行创建及合并 pull request
github 提供了官方的命令行工具gh,gh 文档
1. 安装#
brew install gh
2. 登录#
gh auth login
3. 提交 pull request#
git checkout -b dev
# 进行了巴拉巴拉的修改
git add .
git comment -m 'dev xxxx'
git push
gh pr create
查看 pr 状态
gh pr status
4. 合并 pull request#
gh pr merge