-
-
Notifications
You must be signed in to change notification settings - Fork 55
Expand file tree
/
Copy pathcommit.go
More file actions
13 lines (10 loc) · 604 Bytes
/
commit.go
File metadata and controls
13 lines (10 loc) · 604 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
package main
type commitCmd struct {
Create commitCreateCmd `cmd:"" aliases:"c" help:"Create a new commit"`
Amend commitAmendCmd `cmd:"" aliases:"a" help:"Amend the current commit"`
Split commitSplitCmd `cmd:"" aliases:"sp" help:"Split the current commit"`
Fixup commitFixupCmd `cmd:"" aliases:"f" experiment:"commitFixup" help:"Fixup a commit below the current commit"`
// TODO: When fixup is stabilized, add a 'released:' tag here.
Pick commitPickCmd `cmd:"" aliases:"p" experiment:"commitPick" help:"Cherry-pick a commit"`
// TODO: When pick is stabilized, add a 'released:' tag here.
}