Update README.md

This commit is contained in:
2025-08-17 21:54:19 -04:00
parent 16f41bd98a
commit 901f02f471

View File

@@ -8,3 +8,21 @@ Don't copy unless you know what you're doing. But if you insist...
- ??? - ???
- profit - profit
## Creating a new repository on the command line
```
touch README.md
git init
git checkout -b main
git add README.md
git commit -m "first commit"
git remote add origin http://192.168.138.7/jking/dotcfg.git
git push -u origin main
```
## Pushing an existing repository from the command line
```
git remote add origin http://192.168.138.7/jking/dotcfg.git
git add *
git branch -M main
git push -u origin main
```