Does anyone know if there is a way to automatically perform a pull on a git branch before you create a local git branch within PyCharm?
There is not an official way as of the moment (PyCharm 2016.3) but I can suggest a similar work-around that worked successfully in another case: PyCharm: Switch between Code and Run/Terminal with CapsLock-u and CapsLock-n
Record a macro with the instruction given in the linked answer that:
Now you have a macro that when you hit it, pulls from the current branch and starts the creation of a new branch in which you only have to enter the name of the new branch!
Note: This macro is suggested under the assumption that you are creating a new branch on Git and on Linux. Your setting maybe different so you will have to adjust the process!
Good luck :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With