More by ISSOtm
issotm@sheik-kitty /tmp/test% echo 'Hello World' >msg.txt [master|✔] issotm@sheik-kitty /tmp/test% git diff [master|✚1] Δ msg.txt ─────────────────────────────────────────────────────────────────────────────── ─────┐ • 1: │ ─────┘ │ 1 │Hello │ 1 │Hello World issotm@sheik-kitty /tmp/test% git add -A [master|✚1] issotm@sheik-kitty /tmp/test% git commit -m 'Add full message' [master|●1] [master eec2624] Add full message 1 file changed, 1 insertion(+), 1 deletion(-) issotm@sheik-kitty /tmp/test% echo [master|✔]
`git checkout` demonstration 01:31
by ISSOtmissotm@sheik-kitty /tmp/test% git status [master|●2…1] On branch master No commits yet Changes to be committed: (use "git rm --cached <file>..." to unstage) new file: main.c new file: main.h Untracked files: (use "git add <file>..." to include in what will be committed) test.c issotm@sheik-kitty /tmp/test% [master|●2…1]
`git add` demonstration 00:51
by ISSOtm-Supported types are `b` for bytes, `w` for words, `l` for longs. +Supported types are `b` for bytes, `w` for words, `p` for (16-bit) pointers, `l Each entry must be one such character, followed its repeat count. As per RGBDS convention, words are 2 bytes, and longs 4 bytes, all little-endia (1/3) Stage this hunk [y,n,q,a,d,j,J,g,/,e,?]? n @@ -72,7 +72,6 @@ For example, to format 19 bytes as entries of 1 word then 3 by Example output: ``` - db $43, $41, $52 dw $4c49 db $4c, $4f, $4e (2/3) Stage this hunk [y,n,q,a,d,K,j,J,g,/,e,?]?
`git add -p` demonstration 00:15
by ISSOtmissotm@sheik-kitty /tmp/test% echo 'Hello Wordl!' >msg.txt [master|✔] issotm@sheik-kitty /tmp/test% git add msg.txt [master|✚1] issotm@sheik-kitty /tmp/test% git commit -m 'Add message' [master|●1] [master 37bc80e] Add message 1 file changed, 1 insertion(+) issotm@sheik-kitty /tmp/test% cat msg.txt [master|✔] Hello Wordl! issotm@sheik-kitty /tmp/test% git log --oneline [master|✔] 37bc80e (HEAD -> master) Add message 91db0da Initial commit issotm@sheik-kitty /tmp/test% echo 'Hello Wordl!' >msg.txt [master|✔]