Alias "patch" to "pr"
This patch adds an alias for “patch”: “pr”.
In git, a “pull request” (short “pr”) is a request to merge a branch.
GitHub has coined this term, but git-request-pull is a thing as well
(and apparently has been since 2005):
https://github.com/git/git/blob/2cc71917514657b93014134350864f4849edfc83/git-request-pull.sh#L2
Users new to radicle might be confused by the term “patch” used where they expect “pull request” - or short “pr”. Thus, alias the subcommand “patch” to “pr”.
I think this might be controversial, yes, but I think have to start the discussion at some point, so why not do it now?
I am open to your thoughts!
1 file changed
+1
-0
e9245b63
→
3eb23cc3
modified crates/radicle-cli/src/main.rs
@@ -78,6 +78,7 @@ enum Command {
|
|
|
|
|
|
| + | |
|
|
|
|
|