1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-19 19:34:31 +01:00
gitea/services
wxiaoguang dc9cebdf45
Use --message=%s for git commit message (#23028)
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>
2023-02-21 14:12:57 +08:00
..
actions
agit
asymkey
attachment
auth
automerge
context
convert Rename GetUnits to LoadUnits (#22970) 2023-02-19 16:31:39 +08:00
cron
externalaccount
forms Get rules by id when editing branch protection rule (#22932) 2023-02-20 19:30:41 +08:00
gitdiff
issue
lfs
mailer
markup
migrations Scoped labels (#22585) 2023-02-18 21:17:39 +02:00
mirror
org
packages
pull Use --message=%s for git commit message (#23028) 2023-02-21 14:12:57 +08:00
release
repository Scoped labels (#22585) 2023-02-18 21:17:39 +02:00
task
user
webhook Fix intermittent panic in notify issue change content (#23019) 2023-02-20 19:15:49 -05:00
wiki