Level: Rewriting History 3 - "The Same Commit"
Open
level - educational
- Dominant language
- Python
- Stars
- 558
- Forks
- 53
- PR merge metrics
- No merged PRs in 30d
Description
```
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) --------
```
Contributor guide
Assessment
This issue has not been assessed yet.