Problem/Opportunity
Since SC is already aware of git and project, it could be used to manage the git hooks for them.
This would work with repo based projects where sc is used to enact actions accross all the project.
Proposed Solution
Git hooks could be installed in individual projects or globally using the .sc_config (both the users or admin).
sc hook install would be used to clone the hooks scripts repository and associate it with a project. A --global option could be used to install the hook for all projects the user interacts with.
When installed these hooks could either be triggered by sc appending them into the users .gitconfig, or by sc checking for them during a command with a git interaction.
Acceptance Criteria (Optional)
No response
Additional Notes (Optional)
No response
Problem/Opportunity
Since SC is already aware of git and project, it could be used to manage the git hooks for them.
This would work with repo based projects where sc is used to enact actions accross all the project.
Proposed Solution
Git hooks could be installed in individual projects or globally using the .sc_config (both the users or admin).
sc hook installwould be used to clone the hooks scripts repository and associate it with a project. A--globaloption could be used to install the hook for all projects the user interacts with.When installed these hooks could either be triggered by sc appending them into the users .gitconfig, or by sc checking for them during a command with a git interaction.
Acceptance Criteria (Optional)
No response
Additional Notes (Optional)
No response