We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e817c1 commit 870be89Copy full SHA for 870be89
HOWTO.md
@@ -40,10 +40,13 @@ $ git remote add upstream https://github.com/Tahanima/leetcode-solution-curation
40
# Switches to `main` branch
41
$ git checkout main
42
43
-# Resets local `main` branch to match `upstream` repository's `main` branch
44
-$ git reset --hard upstream/main
+# Fetches the branches and their respective commits from the `upstream` repository
+$ git fetch upstream
45
46
-# Push changes to your forked `leetcode-solution-curation` repo
+# Merges the changes from upstream/main into your local default branch
47
+$ git merge upstream/main
48
+
49
+# Pushes changes to your forked `leetcode-solution-curation` repo
50
$ git push origin main
51
```
52
0 commit comments