mirror of
https://github.com/initialcommit-com/git-sim.git
synced 2026-04-27 11:35:58 +03:00
[GH-ISSUE #90] Arrow direction #57
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/git-sim#57
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 @A11Might on GitHub (Jun 3, 2023).
Original GitHub issue: https://github.com/initialcommit-com/git-sim/issues/90
why arrow direction is from new commit to old, it's the reverse to command
git commit. can i change it by some parameter.@initialcommit-io commented on GitHub (Jun 6, 2023):
@A11Might The purpose of arrows in Git DAG are to identify parent/child relationships between nodes (commits). The arrows aren't supposed to represent the flow of time.
For that reason the arrows always point from child commit to its parent(s). You can use the
--reverseflag on any git-sim command to reverse the direction of the whole diagram, but arrows will still always go from child commit to its parent(s), by design.Closing this since this is operating by design.
@initialcommit-io commented on GitHub (Jun 6, 2023):
(Edited my previous comment - I meant to say arrows always point from child commit to its parent(s).