How to delete all git aliases at once?
How can I delete all existing git aliases at once? I tried git config –unset-all … but was unable to figure out the correct syntax for this command.
3 Solutions collect form web for “How to delete all git aliases at once?”
Have you tried this:
git config [--global] --remove-section alias
You can remove it by deleting that line from the configuration file.
This is the command for removing the alias
git config --global --unset alias.YourAlias
Also this might be useful for you
Git alias to delete remote branch
Easiest to just edit your config file directly.