srdusr
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/git.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/git.md b/tools/git.md
index 52a4ba2..13b0d17 100644
--- a/tools/git.md
+++ b/tools/git.md
@@ -48,6 +48,9 @@
```bash
$ config checkout
```
+config push --set-upstream origin main
+git symbolic-ref refs/remotes/origin/HEAD refs/remotes/origin/master
+git fetch origin master:refs/remotes/origin/master
#### Use git subtree to sync other repos into dotfiles
1. First make sure dotfiles is up-to date or commit/push/reset all changes
otherwise this error message will show: `Working tree has modifications. Cannot add.`