I want to make a alias, like this below
gc this is a test message convert to git commit -m "this is a test message".
gc this is a test message
git commit -m "this is a test message"
How can I do this? I want that in my bashrc.
This isn't an alias, but try
function gc() { git commit -m "$*" }