相关疑难解决方法(0)

在git中,将多个注释格式化为单个提交有哪些好的约定

我想知道人们通常如何在一次提交中分离多个评论.明星?逗号?单独的线?只是想知道你发现什么是最好的.

我现在正在使用这个,当我通过Emacs添加评论,但不确定我喜欢它:

Added error messaging
Cleaned up sign-up UI
Added recaptcha

# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
#
# Committer: Conrad Chu <chuboy@conradlaptop.local>
#
# On branch master
# Changes to be committed:
#   (use "git reset HEAD <file>..." to unstage)
#
#       modified:   app/controllers/api_controller.rb
#       modified:   app/controllers/users_controller.rb
#       modified:   app/models/user.rb
#       modified:   app/views/users/new.html.erb
#       modified:   app/views/users/show.html.erb
#       modified:   config/environment.rb
#       modified: …
Run Code Online (Sandbox Code Playgroud)

git dvcs

5
推荐指数
1
解决办法
1630
查看次数

标签 统计

dvcs ×1

git ×1