Skip to content

[Feature] Add custom actions executed on triggers #531

@SebastianSchumann

Description

@SebastianSchumann

We're using submodules in our git repo. After switching a branch we've to run git submodule update to point to the correct submodule branch/commit. Currently it must be done using bash.
It would be great if a git submodule update could run automatically after a branch checkout.
A configuration for this would be nice, where you could link different triggers and git commands.

Triggers might be:

  • after branch switch
  • after branch create
  • before branch delete

Another use case after switching a branch might be running git clean -ffdx because C# projects contains unversioned directories like obj and bin that should be removed to prevent using wrong references/binaries.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions