mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2025-06-12 21:38:32 +02:00
Rename chapters into "internals" and "intro"
This commit is contained in:
parent
70fe577788
commit
f3ff5c5147
97 changed files with 0 additions and 0 deletions
levels/internals/index-update
9
levels/internals/index-update/description
Normal file
9
levels/internals/index-update/description
Normal file
|
@ -0,0 +1,9 @@
|
|||
Instead of removing an entry from the index and adding one with the same name, you can also directly update that entry!
|
||||
|
||||
Put the content you want in a file with a matching name, and then run
|
||||
|
||||
git update-index <file>
|
||||
|
||||
This will create a new blob, and update the hash of the entry to that blob.
|
||||
|
||||
Update an entry in the index!
|
Loading…
Add table
Add a link
Reference in a new issue