I have a windows BAT script that does the following:
call git reset --hard call git clean --force
This works, but I really want to execute it within the context of another folder, something like (this doesn't work):
call ../git reset --hard call ../git clean --force
How can I do this? I don't want to use 'cd' for a number of reasons, not least because it seems to break the execution change (only one git command runs).