Questions tagged [commit-message]

The message associated with commits in a version control system.

Questions marked with this tag may be:

  • about style/how to write helpful messages
  • related to automated commit hooks (be sure to include a tag for the version control system you're using)

Related Tags

Useful Links

132 questions
1
vote
2 answers

What is the whitespace character is in my Git commit message?

My Git commit message contains a whitespace character which looks like a simple space when I output git log or run gitk. However, when I open the Git commit message with Vim the space is displayed as an underbar as shown in the screenshot. How can…
JJD
  • 50,076
  • 60
  • 203
  • 339
1
vote
1 answer

I have added a folder with say 10 files and committed the changes.

Now I have removed 5 of those files and I want to amend these changes to the last commit.I havent pushed the commit..Am using gerrit. However when I do git status it shows me Changes not staged for commit->the 5 files which are deleted and untracked…
1
vote
2 answers

Custom commit messages for every different file PhpStorm + GitHub

That's my first question on StackOverflow, so every advice will be very appreciated. I'm working with PhpStorm as IDE, and my partners and I are we using GitHub as a Version Control System. Every time you make a commit change (like a push) Git…
Lotan
  • 4,078
  • 1
  • 12
  • 30
1
vote
1 answer

Custimize Error Message for hook "commit-msg" in Egit on Windows

As the title says .. I am trying to set up a commit-msg hook in an eclipse project/git repo. I just added the script into my .git folder and from the command line the hook triggers, and i get my Error message. #!/bin/bash ISSUE_KEY=`some-regex` if…
Sirim
  • 182
  • 2
  • 18
1
vote
1 answer

Changing lots of git commit messages

Apparently I mistyped my email a long time ago, whenever I was setting up git, and so my email has been incorrect in many repositories (I typed a 0 instead of an o). I sign all of my commits, so in almost every commit in every repo for years it's…
adam_0
  • 6,920
  • 6
  • 40
  • 52
1
vote
0 answers

Use GitHub username and not profile name for commit messages

The GitHub account username is e.g mojombo and the profile-name ist Tom Preston-Werner: https://github.com/mojombo Is there a way to make GitHub use the username and not the profile-name for commit-messages?
adius
  • 13,685
  • 7
  • 45
  • 46
1
vote
3 answers

how to (unobtrusively) specify commit messages in your editor/ide

Background: the current text editor i am using does not have built-in support for git. Nevertheless, it has support for user-created addons, so I made one for auto-commiting to the repository each time I save a file. Although auto-saving to the…
dreftymac
  • 31,404
  • 26
  • 119
  • 182
1
vote
1 answer

Make Git commit message reflect edited TFS changeset comment

TL;DR As described in this post, I changed a TFS changeset comment. How can I get this to be reflected in the corresponding Git commit in my local Git repository, using Git-Tfs? Verbose version I'm a Git-Tfs user. My workflow is such that I try to…
Keith Pinson
  • 7,835
  • 7
  • 61
  • 104
1
vote
0 answers

Jenkins: capture git commit message

Possible Duplicate: Get access to Build Changelog in Jenkins We have a Jenkins CI server setup that is doing rubymotion testflight builds. Rubymotion allows a message to be sent to testflight as 'notes' on that build. We are interested in…
Miriam H.
  • 671
  • 2
  • 8
  • 25
0
votes
2 answers

What terms do you use to describe the nature of a refactorization?

Currently I'm trying to write a good commit comment for a code refactoring I've made. And I feel like I'm missing a word to sum up what I did instead of describing it. Right now my description is: "Code refactor to improve decoupling inside the…
FMaz008
  • 11,161
  • 19
  • 68
  • 100
0
votes
0 answers

fixing a commit message that isn't the last commit

I make a mistake in my commit message in GitHub. what I have done I navigated to the directory where I wanted its commit message to change. To make vs code my default editor I ran this: git config --global core.editor "code --wait" afterwards, I ran…
0
votes
1 answer

How to commit without message in Git?

I know that GitHub highly recommends to use messages BUT I work on semi-public projects with my brother and we are working in the same room so obviously we don't need any comments to our commitments. Are there any other options to completely disable…
smbrine
  • 1
  • 2
0
votes
0 answers

How to fetch modified files path in git commit message template file for vs code

I am trying to add an alias to my .gitmessage.txt template file that will automatically add all modified files in the current repo to the commit message. I create this file in my project folder. and i am using GitLens extension for commit & push and…
0
votes
1 answer

Extracting Revision numbers in svn

I am trying to create a pipeline on jenkins which takes the code from a svn repository , builds it (using MSBuild) , tests it , creates a package from the build artifacts (using Maven) and then commits this package to another svn repository which…
Ramin B
  • 35
  • 5
0
votes
0 answers

Why does a "/" in commit message break semantic-release?

I noticed that when using semantic-release/commit-analyzer plugin in gitlab ci, if there is a "/" in the commit message this breaks semantic release resulting in the following "error": [7:28:38 AM] [semantic-release]…
Tallulah
  • 51
  • 1
  • 11
1 2 3
8 9