I'd like to have single keyboard shortcut do to two things in IntelliJ IDEA:
- switch to master branch in Git regardless of current branch (
git checkout master) - pull latest changes from origin/master (
git pull --rebase --autostash origin master)
Currently I have both configured as External Tool and I have separate shortcuts attached. How can I join these commands so I can prepare my local master branch for further development within one keyboard shortcut?
Or maybe there is a way to do the same without using External Tool feature?