mirror of
https://github.com/initialcommit-com/git-sim.git
synced 2026-04-26 19:15:51 +03:00
[GH-ISSUE #33] Feature request: support git commit --amend #26
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/git-sim#26
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @alexanderkogan on GitHub (Jan 27, 2023).
Original GitHub issue: https://github.com/initialcommit-com/git-sim/issues/33
Currently only
git commitis supported.Amending would be quite easy to show, I think.
When I find the time, I might try to implement it, but if anybody feels the urge, feel free to do it. (;
From my first foray through the code, it would be similar to the additional flags in
reset.@initialcommit-io commented on GitHub (Jan 27, 2023):
@alexanderkogan Yes this should be a quick one I'll try to get it implemented and released later today! I'll post back here when ready for you to test.
@initialcommit-io commented on GitHub (Jan 28, 2023):
@alexanderkogan Just implemented this in git-sim 0.1.7. You can now use the
--amendoption as a part of git-sim commit as follows:Note that for now the amended commit message must be supplied using the
-mflag.Please upgrade to git-sim 0.1.7 by running:
Then test it out and let me know if it works for you! =D
@initialcommit-io commented on GitHub (Jan 29, 2023):
@alexanderkogan Closing since this is implemented now. Feel free to reopen if any issues.