M
M
Maxim Ivanov2016-06-10 22:23:12
git
Maxim Ivanov, 2016-06-10 22:23:12

How to automate git commit?

aaa25c3f82714170b835d2f0953afdaa.png
Tried to do so, it didn't work, why?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Burov, 2016-06-10
@splincodewd

git add .

[email protected]
if [ -z "$msg" ]; then
  msg="update";
fi

git commit -m "$msg"
git push origin master -f

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question