add to readme

This commit is contained in:
Jonathan Wren 2021-10-17 23:42:26 -07:00
parent 96d0924aef
commit 5403f42acf

View file

@ -146,10 +146,12 @@ Or if you prefer, you can also use git aliases (instead of shell aliases). To do
1. Set the `FORGIT_STANDALONE` flag
- example: `export FORGIT_STANDALONE=1`
2. Add the bin directory in `FORGIT_INSTALL_DIR` to your `PATH`
- example: `PATH="$PATH:FORGIT_INSTALL_DIR/bin"`
3. Add (aliases in git)[https://git-scm.com/book/en/v2/Git-Basics-Git-Aliases]
- example: `PATH="$PATH:$FORGIT_INSTALL_DIR/bin"`
3. You can now run any forgit command as a subcommand of git!
- example: `git forgit log`
4. Add (aliases in git)[https://git-scm.com/book/en/v2/Git-Basics-Git-Aliases]
- example: `git config --global alias.cf 'forgit checkout_file'`
4. Use the alias in git instead of the shell
5. Use the alias in git instead of the shell
- example: `git cf`
#### pagers