git config alias


### If windows change `open` to `start` 
```type[alias]# ********************  # My dumbass typos    ammend = commit --amend     amend = commit --amend   # *********************  # Github  # From - https://salferrarello.com/git-alias-open-pull-request-github/    pr = "!f() { \       open \"$(git ls-remote --get-url $(git config --get branch.$(git rev-parse --abbrev-ref HEAD).remote) \       | sed 's|git@github.com:\\(.*\\)$|https://github.com/\\1|' \       | sed 's|\\.git$||'; \       )/compare/$(\       git config --get branch.$(git rev-parse --abbrev-ref HEAD).merge | cut -d '/' -f 3- \       )?expand=1\"; \  }; f"    hub = "!f() { \       open \"$(git ls-remote --get-url \       | sed 's|git@github.com:\\(.*\\)$|https://github.com/\\1|' \       | sed 's|\\.git$||'; \       )\"; \  }; f"```
- `git pr` -> Open this PR at github.com
- `git hub` -> Open this repo at github.com
- `git amend` -> Alias for `git commit --amend`
- `git ammend` -> How I always misspell ‘amend’, also alias for `git commit --amend`




> [Git Bash bash: open: command not found](https://stackoverflow.com/questions/35811533/git-bash-bash-open-command-not-found)

> [Idiot proof git](https://softwaredoug.com/blog/2022/11/09/idiot-proof-git-aliases.html)





