How do I reuse previous arguments in reverse order in Bash?
How do I do this in one line reusing and reversing the arguments? Also what's the syntax to create a function that will do this?
mv newname.js oldname.js
git mv oldname.js newname.js
for example to make a folder then cd into it you
mkdir new-folder-name && cd $_
is it something like
mv newname.js oldname.js && git mv $2 $1