Is there some shortcut for filepath, because it's very annoying write full path again and again?
Some kind regular expression or something else.
I know, I can use "Tab" key, but...
UPDATE:
Windows and default sh.exe from Git
Is there some shortcut for filepath, because it's very annoying write full path again and again?
Some kind regular expression or something else.
I know, I can use "Tab" key, but...
UPDATE:
Windows and default sh.exe from Git
I understand what you're asking, but I'm not sure what kind of solution you're thinking of. If your filepath is potentially 'shortenable', why don't you change the names of the folders directly?
I'm no expert, but I suspect that for command-line usage, you won't find much better than what you've already got.
Using a GUI with a folder browser might be what you want? (for windows, for linux)
(If you're doing a lot of operations on multiple files in the same subfolder, you could navigate to that folder and run your commands from there - though you might want to check if the specific git commands you're using can handle that)
EDIT If there are just one or a couple of folders than you always need to refer to, you could set up a shell variable as bstpierre suggests in his comment on your question.