srdusr
aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/git.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/git.md b/tools/git.md
index 1616b31..22ce1b1 100644
--- a/tools/git.md
+++ b/tools/git.md
@@ -115,6 +115,14 @@ Create a commit with a message about the commit:
```bash
$ git commit -m <file>
```
+Make main branch
+```bash
+git branch -M main
+```
+Add remote server repository
+```bash
+git remote add origin https://github.com/srdusr/grimoire.git
+```
Push the changes/commits onto repo:
```bash
$ git push -u origin <branch>