You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You could try using git hooks, but unfortunately, hooks don't get uploaded to the GitHub repository, or at least the ones stored in the ./.git/hooks directory. However, you could create a .githooks directory and run
git config --local core.hooksPath .githooks/
so git execute the hooks stored in the .githooks directory, but you will need to run that command each time you change of computer.
Thanks for the suggestions! I expect I'd need additional logic to switch back to my original branch, or only run the code when merging on main. This should help for merges done on my machine.
Though I do hope there is a solution that would work on GitHub, as I often handle merge requests through the web interface.
The
main-plugin
branch should stay synced with themain
branch. This is being solved manually. An automated solution would be preferred.The text was updated successfully, but these errors were encountered: