From 12b61cf190f5a528e92a6ea199f9de03e658f64d Mon Sep 17 00:00:00 2001 From: Alejandro Falkowski Date: Sun, 24 Mar 2024 19:48:47 +0100 Subject: [PATCH] feat(build): add a way to commit and push (#48) --- build/make/git.mak | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build/make/git.mak b/build/make/git.mak index 64ce88d..3f15705 100644 --- a/build/make/git.mak +++ b/build/make/git.mak @@ -23,6 +23,13 @@ sync: amend: add git commit --amend --no-edit +# Commit the latest changes. +commit: add + git commit -am "$(msg)" + # Push the latest changes. push: git push -f origin $(name) + +# Commit and push +commit-push: commit push