Add change 15 to instructions
This commit is contained in:
parent
4e13a27f79
commit
6a91c03f40
10
how_to/Change_15.md
Normal file
10
how_to/Change_15.md
Normal file
@ -0,0 +1,10 @@
|
||||
- commit: Record hash of last commit to HEAD
|
||||
|
||||
I would like to link new commits to older commits. Right now, if we make changes
|
||||
in the working directory and make periodic commits, each commit will be a
|
||||
standalone object, separate from all other commits. The motivation for linking
|
||||
them together is so that we can look at the commits as a series of snapshots in
|
||||
some order.
|
||||
|
||||
Before we can do it, let's record the OID of the last commit that we created.
|
||||
We'll call the last commit the "HEAD" and just put the OID in .ugit/HEAD file.
|
Loading…
x
Reference in New Issue
Block a user