Is there any mechanism for making multiple actions with a single click or project macros?
For example after a PR is merged and I'm on my now stale/merged/feature branch that was just merged to main, I want to:
- git checkout main
- git pull
Or another example would be while working on a feature branch
- // somehow store the $CURRENT_BRANCH I am on temporarily, e.g. [feature/TIK-345-add-widget-to-dashboard]
- git commit -m "WIP to keep up to date with latest main"
- git checkout main
- git pull
- git checkout $CURRENT_BRANCH
- git merge main
There doesn't seem to be a way, or I don't know the name of the feature to search in docs, as `macros` are for edits in a file.
TIA - cheers
Please sign in to leave a comment.
Not sure if it is possible to automate these actions in a single click but I just wanted to notice that macros are not only for the code editing -- other IDE actions are being recorded as well, for example (the list of actions is pretty random but nonetheless):