You are right.
git am have already been existing.
After changed coam instead of am, it worked well!!
Thanks!!
2016年2月25日木曜日 18時35分50秒 UTC+9 Konstantin Khomoutov:
>
> On Wed, 24 Feb 2016 20:10:09 -0800 (PST)
> hiroki yasui > wrote:
>
> > I ofter use the below command
> > $git commit -am "some
hiroki yasui writes:
> .gitconfig file is
> [alias]
> am = "!f(){ git commit -am \"$1\";};f"
First, there is no reason for your shell command to define a function
and then call it. The alias should just execute what is now the body of
the function:
> am = "!git commit -am \"$1\""
Seco
On Wed, 24 Feb 2016 20:10:09 -0800 (PST)
hiroki yasui wrote:
> I ofter use the below command
> $git commit -am "something message"
>
> After setting alias, unfortunately that'd not work well.
>
> .gitconfig file is
> [alias]
> am = "!f(){ git commit -am \"$1\";};f"
>
> And then I tried,