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
0
votes
1 answer

git default commit message include files reset in pre-commit hook

In my workflow I want to make some changes in file and keep them in my local machine. For this purpose I have written a pre-commit hook to reset those files before any commit. The problem is that the default message: # Changes to be committed: # …
Suryavanshi
  • 595
  • 1
  • 7
  • 24
0
votes
1 answer

Catch my message before push in Git

I am writing git hook client side commit-msg script and I need to put the message from git commit -m "**mytext**" into some script for further checking on my pattern. I found how to do it with commits that were pushed git log -1 --pretty=%B But…
Lavrentijs L
  • 119
  • 1
  • 8
0
votes
1 answer

Change past git commit message without stashing current work

If I want to change a past commit message, I know I can do git reset HEAD . git commit --amend -m "Correct commit message" or git stash save "WIP" git rebase -i HEAD~ but is there any way to do it without stashing current work (or, for --amend,…
Andrew Grimm
  • 78,473
  • 57
  • 200
  • 338
0
votes
1 answer

git log displays only a part of the commit messages

The git log command displays only a part (upto a perticular limit of innitial characters ) of the original commit message. But I want to display the whole long log message on the console. How to do it?
Samitha Chathuranga
  • 1,689
  • 5
  • 30
  • 57
0
votes
1 answer

Jenkins how to execute particular shell command from the git commit message

I have 3 test commands to run on post build but I want to run these commands based on keyword in the git commit message. Commit message: 'New changes [CoreTest]' if(CoreTest){ Run coreTest shell command for spoon }else if(CloudTest){ Run…
Shivaraj Patil
  • 8,186
  • 4
  • 29
  • 56
0
votes
1 answer

Replace e-mail address in every commit message

I recently noticed that I've accidentally been using the sign-off feature in msysgit to sign several commits with an incorrect e-mail address. Unfortunately, I have already pushed the commits to my GitHub repository. Is there any way to remove (or…
osvein
  • 625
  • 2
  • 10
  • 31
0
votes
2 answers

How to change svn commit message

I wrote a script which can auto commit in every 10 minutes. But it's commit message always same ("Code saved"). But i want to change some of them which are milestone. This is my auto commit script: cd c:\inetpub\wwwroot\siteCodes svn commit -m "Code…
uzay95
  • 16,052
  • 31
  • 116
  • 182
0
votes
0 answers

How do I change the formulaic content of the git commit-message editor?

When entering git commit, you see something like the following formulaic message in your editor: # Please enter the commit message for your changes. Lines starting # with '#' will be ignored, and an empty message aborts the commit. # On branch…
ELLIOTTCABLE
  • 17,185
  • 12
  • 62
  • 78
0
votes
1 answer

netbeans overwrite my commit message when pulling

I'm using Git versioning in NetBeans 7.2.1 with a GitHub repository. If I commit my changes and then I push it to the remote repository immediately after commit (suppose the remote version has not changed since my last push), my commit message…
kornisb
  • 260
  • 1
  • 12
0
votes
1 answer

subversion per module add,copy,modify,delete notification

Currently I have a mailer.py file that sends an email when there is a commit on a particular repository. Anyone knows how to have ONLY emails sent out to the owner of modules (directories) within a…
Val Neekman
  • 17,692
  • 14
  • 63
  • 66
-1
votes
1 answer

Get file name from commit message in git

In git some days back (Around 1 month) i pushed wrong files to repository with a commit message 'Test' . In local system i want to see those files with commit message 'Test' in a particular branch .How to check ?
amiya
  • 1
  • 4
-1
votes
1 answer

How does one locate all git log messages in the git object database?

Using git cat-file I can look at objects in the Key-value store but I am only interested in log messages. How do I filter out those?
murungu
  • 2,090
  • 4
  • 21
  • 45
1 2 3
8
9