So I want to write a single file that:
cd /d myfolder git pull
But the git variable is not defined in the default cmd in windows, only if I open the git shell icon on the desktop: "C:\Documents and Settings\Administrador\Definições locais\Application Data\GitHub\GitHub.appref-ms" --open-shell
How do I open a cmd with the git shell and cd into a particular folder and the run the pull command, then the window should stay open and let me run other commands if necessary.
Thanks