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

Level: Rewriting History 3 - "The Same Commit" #257

Open
benthayer opened this issue Aug 5, 2020 · 1 comment
Open

Level: Rewriting History 3 - "The Same Commit" #257

benthayer opened this issue Aug 5, 2020 · 1 comment
Assignees
Labels
level - educational Additional levels for the game
Milestone

Comments

@benthayer
Copy link
Owner

benthayer commented Aug 5, 2020

3) The Same Commit - Use branches to show that the commit hash changes

git gud status (#264)

Before (branch):
Hash: 1234
Message: Commit

After (master):
Hash: 4321
Message: New Commit

======= Simulating: git log --oneline --all --graph
Blah
<<<<<<<

Trees:

A) Starting tree
Initial ---- Commit (master)

B) Branch
Initial ---- Commit (master, branch)

C)
Initial --- New Commit (master)
    \
   Commit (branch)

D)
Initial --- New Commit ---- Merge (master)
    \                       /
   Commit (branch) --------
@benthayer benthayer added the level - educational Additional levels for the game label Aug 5, 2020
@benthayer benthayer added this to the 1.0 milestone Aug 5, 2020
This was referenced Aug 5, 2020
@sahansk2
Copy link
Contributor

sahansk2 commented Aug 6, 2020

@benthayer Voop

@benthayer benthayer changed the title Level: Amending 3 - "The Same Commit" Level: Rewriting History 3 - "The Same Commit" Aug 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level - educational Additional levels for the game
Projects
None yet
Development

No branches or pull requests

2 participants