0
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-02-13 19:26:01 -05:00
forgejo/modules
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
activitypub
analyze
auth
avatar
base
cache
charset
container
context Render access log template as text instead of HTML (#23013) 2023-02-21 10:22:13 +08:00
csv
doctor
emoji
eventsource
generate
git Use --message=%s for git commit message (#23028) 2023-02-21 14:12:57 +08:00
gitgraph
graceful
hcaptcha
highlight
hostmatcher
html
httpcache
httplib
indexer
issue/template
json
lfs
log
markup
mcaptcha
metrics
migration
mirror
nosql
notification
options
packages
paginator
pprof
private
process
proxy
proxyprotocol
public
queue
recaptcha
references
regexplru
repository Use --message=%s for git commit message (#23028) 2023-02-21 14:12:57 +08:00
secret
session
setting handle deprecated settings (#22992) 2023-02-20 16:18:26 -06:00
sitemap
ssh
storage
structs
svg
sync
system
templates
test
timeutil
translation
turnstile
typesniffer
updatechecker
upload
uri
user
util
validation
watcher
web
webhook