The Human Git aliases includes some functions which take arguments, for example
into = "!f() { B=$(git current-branch); git checkout $1; git pull; git merge $B --no-edit; }; f"
I'm having trouble getting similar things to work in fish.
I can create a fish alias, say called git-into, which works, but I'd rather have a git alias so I don't have to remember which commands use the dash and which use the space.
Using ! fish -c STUFF" or "! bash -c STUFF doesn't pass in the arguments properly.
How would I make it so that
git into repository
will do the equivalent of the above script?