This repository contains a collection of git aliases to simplify your git commands and easily migrate them to a new machine
To set up the git aliases on a new machine, follow these steps:
- Clone the repository
- Navigate into the repository
- Make the script executable:
chmod +x setup_aliases.sh
- Run the script with the aliases you want:
./setup_aliases.sh commit_m
If no aliases are specified when running the script, all aliases are set up. When specifying the aliases, use the filename without the .yml
extension.
To add a new alias, create a new YAML file in the aliases
directory with the alias and the command. For example:
alias: co
command: checkout