Skip to content

Allow git amend message only#91838

Merged
joaomoreno merged 2 commits into
microsoft:masterfrom
mathiasvr:amend-message
Nov 5, 2020
Merged

Allow git amend message only#91838
joaomoreno merged 2 commits into
microsoft:masterfrom
mathiasvr:amend-message

Conversation

@mathiasvr
Copy link
Copy Markdown
Contributor

Allows Git Commit (Amend) and Commit Staged (Amend) when there are no file changes, so only the message will be updated.

This has the same behavior as currently running Commit Staged (Amend) with no staged files, but some file changes.

This PR fixes #89923.

@joaomoreno joaomoreno added the git GIT issues label Mar 31, 2020
@joaomoreno
Copy link
Copy Markdown
Member

Very elegant! 🍻 Thanks!

@joaomoreno joaomoreno added this to the November 2020 milestone Nov 5, 2020
@joaomoreno joaomoreno merged commit 7328c3c into microsoft:master Nov 5, 2020
@mathiasvr mathiasvr deleted the amend-message branch November 5, 2020 17:35
@github-actions github-actions Bot locked and limited conversation to collaborators Dec 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

git GIT issues

2 participants