Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arrow direction #90

Closed
A11Might opened this issue Jun 3, 2023 · 2 comments
Closed

Arrow direction #90

A11Might opened this issue Jun 3, 2023 · 2 comments

Comments

@A11Might
Copy link

A11Might commented Jun 3, 2023

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
Copy link
Contributor

initialcommit-io commented 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 --reverse flag 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
Copy link
Contributor

(Edited my previous comment - I meant to say arrows always point from child commit to its parent(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants