X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=git%2FREADME.md;h=640ee29e741589fd387120fc9f78deb9c3d8955a;hb=d68d0376b9cead7e1bf6446e71f00c8e3c965a45;hp=d0f05d387a43a1ec21c8b27d5aa4e78cb559b6b5;hpb=09922374990233eb110093bff6b7142b09ee43fd;p=webi-installers%2F.git diff --git a/git/README.md b/git/README.md index d0f05d3..640ee29 100644 --- a/git/README.md +++ b/git/README.md @@ -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