docs: update 'Updating' sections with new format
[webi-installers/.git] / git / README.md
index d0f05d387a43a1ec21c8b27d5aa4e78cb559b6b5..640ee29e741589fd387120fc9f78deb9c3d8955a 100644 (file)
@@ -3,12 +3,16 @@ title: Git
 homepage: https://git-scm.com
 tagline: |
   git: --fast-version-control
-description: |
-  > Git is a fast, scalable, distributed revision control system with an
-  > unusually rich command set that provides both high-level operations and full
-  > access to internals.
 ---
 
+To update or switch versions, run `webi git@stable` (or `@v2.30`, `@beta`, etc).
+
+## Cheat Sheet
+
+> Git is a fast, scalable, distributed revision control system with an unusually
+> rich command set that provides both high-level operations and full access to
+> internals.
+
 Github's [Git 'Hello World'](https://guides.github.com/activities/hello-world/)
 is a good place to get started if you're new to git.
 
@@ -40,6 +44,12 @@ This will branch from the branch you're currently on.
 git checkout -b my-branch-name
 ```
 
+### How to rebase by default
+
+```bash
+git config --global pull.rebase true
+```
+
 ### How to rebase
 
 > To "rebase" simply means to undo any of your changes, apply updates from