We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a37323 commit ca40d91Copy full SHA for ca40d91
pages/common/git-fetch.md
@@ -26,3 +26,7 @@
26
- Deepen current shallow branch by 2 commits:
27
28
`git fetch --deepen 2`
29
+
30
+- Update the `main` branch without switching to it (equivalent to `git pull`):
31
32
+`git fetch {{origin}} main:main`
0 commit comments