Skip to content

Commit 8e08c5c

Browse files
author
Henry
committed
📝 setup git user.email and user.name
1 parent 28981cb commit 8e08c5c

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,15 @@ Start:
1313

1414
## Explore
1515

16+
You will need to setup your git email and user-name
17+
(replace with yours in case you want to commit something, otherwise use copy-paste)
18+
19+
```bash
20+
git config --global user.email "[email protected]"
21+
git config --global user.name "Your Name"
22+
```
23+
> could be added to local config
24+
1625
- create a folder with an empty repository
1726
- setup user.name and user.email
1827
- create branches
@@ -31,6 +40,10 @@ Start:
3140
git log --format=raw
3241
git cat-file -p <hash> # pretty print
3342
git cat-file -t <hash> # type
43+
44+
# the binary object can also be inspected using different tools,
45+
# which might make it easier to navigate to certain blobs:
46+
cat .git/objects/<2c>/<38c> | zlib-flate -uncompress
3447
```
3548

3649
## Note

0 commit comments

Comments
 (0)