Use --amend option with git commit
git commit --amend -m "Added application properties"
Sometimes, the above git commit --amend command execution opens up a editing tool like notepad++ with the previous commit message, so that we can alter the commit message. Once after saving this message and closing this editing tool, this changes the log previous message.
Use git log --oneline to check all the commits and commit messages.
No comments:
Post a Comment