I have to use this command frequently
git difftool head head~2 -- Myefile.cpp.
It is a large command to type all the time. I would like to make an alias of this command with head~n
where n
is a variable. I want to type
git myfilediff n
where n
is an integer number.
How can I do it in windows 10?