Git push and pull trigger on launch and exit phpstorm
Hi
i do my project at office and home and i sync my project using git so i need to push my changes before exit phpstorm and when im home do git pull before start
so my question is: is there any way to define trigger on exit or launch phpstorm that perform git pull and push for example when i close phpstrom it run git push to send my change to server and when i open phpstorm it run git pull to get last changes from server?
Please sign in to leave a comment.
Is there any way to undrestand phpstorm is open or not? forexample it creates a lock file or something like that.
if i can undrestand phpstorm is open or not then i can write a bash script for it to Pull and Push automatically by open and close phpstorm