Akgit will run some command before running git (and solve some recurrent user mistake)
- Install pre-commit automatically if a configuration exists
- Automatically add akretion remote based on origin url
- Block direct push top OCA and Shopinvader
- Use git-autoshare
- Before fetch check if the remote exist and if not add it automatically. (You can use alias for following company: ak=>akretion, c2c=>camptocamp, acs=>acsone
pipx install git+https://github.com/akretion/akgit --force --include-deps
Edit the file .config/git-autoshare/repos.yml and put the following content
github.com:
"*":
orgs:
- odoo
- OCA
- akretion
private: True