mirror of
https://github.com/go-gitea/gitea
synced 2024-11-17 23:54:25 +00:00
dc9cebdf45
Close #23027 `git commit` message option _only_ supports 4 formats (well, only ....): * `"commit", "-m", msg` * `"commit", "-m{msg}"` (no space) * `"commit", "--message", msg` * `"commit", "--message={msg}"` The long format with `=` is the best choice, and it's documented in `man git-commit`: `-m <msg>, --message=<msg> ...` ps: I would suggest always use long format option for git command, as much as possible. Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> |
||
---|---|---|
.. | ||
collaborator_test.go | ||
collaborator.go | ||
commits_test.go | ||
commits.go | ||
create_test.go | ||
create.go | ||
delete.go | ||
env.go | ||
fork.go | ||
generate_test.go | ||
generate.go | ||
hooks.go | ||
init.go | ||
main_test.go | ||
push.go | ||
repo.go | ||
temp.go |