GitHub Desktop commits with empty line to separate subject from body #62656
-
Apparently, good git commit message style requires to separate subject from body with a blank line. Unfortunately, the GitHub Desktop deletes an empty line at body head of a new commit. At least this happens to me with GitHub 3.2.7 (and earlier) on macOS and I found no preferences to change this. Please note a Naturally, there would be CLI git but how to accomplish this (basic) task with GitHub Desktop? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
THX @MahsaBakhtiari and I appreciate this.
Good proposal. However, the blank space would not meet the requirement of an "empty line" apparently.
I was aware of this. Nevertheless worth to be included here for the benefit of a wider community. Unfortunately, your kind and able answer does not provide a solution for the a.m. basic task by help of the GitHub Desktop App. |
Beta Was this translation helpful? Give feedback.
-
Hi there @Zweihorn - would you mind providing screenshots of the issue please? |
Beta Was this translation helpful? Give feedback.
-
Another solution outside the GitHub Desktop would be: 3. Use CLI or Git Bash: |
Beta Was this translation helpful? Give feedback.
-
Oh silly me and this was a most embarrassingly misjudgement from my side. Nevertheless a good learning experience. There is no fail with the GitHub Desktop App and the empty separation line is provided as default. A basic However, I would like to thank for the able and kind advice of this great community. Please accept my sincere apologies for any inconvenience. 🌻 |
Beta Was this translation helpful? Give feedback.
Oh silly me and this was a most embarrassingly misjudgement from my side. Nevertheless a good learning experience.
There is no fail with the GitHub Desktop App and the empty separation line is provided as default.
A basic
git log
would have shown the technical details and would have helped me to avoid causing unnecessary effort.However, I would like to thank for the able and kind advice of this great community. Please accept my sincere apologies for any inconvenience.
🌻