mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2025-06-14 21:38:22 +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-add
9
levels/internals/index-add/congrats
Normal file
9
levels/internals/index-add/congrats
Normal file
|
@ -0,0 +1,9 @@
|
|||
There's another way to add an entry to the index directly:
|
||||
|
||||
git update-index --add --cacheinfo <mode>,<blobhash>,<name>
|
||||
|
||||
The first three numbers of the mode describe the type of the entry, "100" is a regular file.
|
||||
|
||||
The second three number describe the permissions. Only "644" (non-executable) and "755" (executable) are supported.
|
||||
|
||||
You can insert the hash of an object into the terminal by right-clicking on it! :)
|
Loading…
Add table
Add a link
Reference in a new issue