Skip to content

akretion/akgit

Repository files navigation

akgit: Git helper for akretion

Description

Akgit will run some command before running git (and solve some recurrent user mistake)

commit

  • Install pre-commit automatically if a configuration exists

Push

  • Automatically add akretion remote based on origin url
  • Block direct push top OCA and Shopinvader

Clone

  • Use git-autoshare

Fetch

  • 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

Install

pipx install git+https://github.com/akretion/akgit --force --include-deps

Configure git-autoshare

Edit the file .config/git-autoshare/repos.yml and put the following content

github.com:
    "*":
        orgs:
            - odoo
            - OCA
            - akretion
        private: True

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages