alibaba / git-repo-go

git-repo is a command-line tool for centralized workflow, can work with Gerrit, AGit-Flow compatible servers. It is written in Golang, and it can be installed easily without further dependency. It provides an easy-to-use solution for multiple repositories which is introduced by Android repo first, and it can also work with a single repository.
https://git-repo.info/
Apache License 2.0
262 stars 60 forks source link

git-pr命令已经被git-extras包含了,何解? #32

Closed pixystone closed 2 years ago

pixystone commented 3 years ago
$ g repo version
WARNING: you cannot use the git-repo alias command 'git-pr', it is overrided by '/usr/local/bin/git-pr' installed
git-repo version 0.7.7
git version 2.25.0

image

jiangxin commented 3 years ago

git-repo 的配置文件安装在:~/.git-repo/gitconfig。这个配置文件中针对创建代码评审创建了好几个别名命令:

大概率可以使用 git peer-review。您也可以自己定义笔名命令:

git config --global alias.<别名> "repo upload --single"