I don\'t really understand what h开发者_JAVA百科appens if I check out an old commit, do some modifications, and commit using git commit --amend.
I have a ton of new files to开发者_运维百科 commit. Clicking each one in git gui (Windows) to stage is annoying.
I\'d like to have a commit message cleanup that will not necessarily remove lines beginning with a # in the message itself. The default --cleanup=strip removes all lines starting with a # character.
How does this actually come about? I am working in one repo by myself at the moment, so this is my workflow:
There\'s ways to change the message from later commits: git commit --amend# for the most recent commit
I\'m new to Git and a bit confused. 开发者_运维百科 I have a Master branch and have created a second feature branch.
Is it somehow possible to automatically have a link to GitHub issue numbe开发者_StackOverflowr in the git commit message?Just include #xxx in your commit message to reference an issue without closing