i am writing a quick gitpush.sh file.
git add -u
git commit -m 'quick update: '$1
git push origin master
echo $1
when run it i want to add a custom message to it. so instead of writing:
sh gitpush.sh a_commit_for_lala_land
which is considered $1
i want to write
sh gitpush.sh a commit for lala land
without the underscores. how to i modify $1 to sum up multiple arguments with a space in between each argument to form a sentence?
EDIT I know this might not be proper git usage. but i only need it for an insignificant project i am working on alone (no branches etc).
sh gitpush.sh "a commit for lala land"?$1in both cases anyway.