私は次のエイリアスを持っています:
$HOME/.gitconfig
:
[alias]
...
cmall = !git add -A && git commit -m $1 && git push
私が読んだものからは正しいように見えますが、そのgit push
部分は機能していません:
(repo)me:~/work_projects/repo$ git cmall "test"
On branch ckc/blah
Your branch is ahead of 'origin/ckc/blah' by 1 commit.
(use "git push" to publish your local commits)
nothing to commit, working directory clean
私はシェルに入りgit push
、それはうまく動作します。git エイリアスをどのようにプッシュしますか?