I work a little bit with alias on mac environment, and it was very useful. But i want to make some more boosting in my work using aliases. Now i want to make the add files, commit, and push to be done with aliases. So, i create an alias but it did not work; Here is the code
alias track="trackFunction() { git add .; git commit %@; git push}"
The output be like that:
error: pathspec '%@' did not match any file(s) known to git.
So, i hope you guide me in this, because i'm new in all these stuff of work.