diff options
| author | Bobby <[email protected]> | 2022-11-05 00:40:39 -0400 |
|---|---|---|
| committer | Bobby <[email protected]> | 2022-11-05 00:40:39 -0400 |
| commit | bd7f25c84345fa72a3b0c545f10f6b857d8e041a (patch) | |
| tree | e63afdb9eb50d95c444566b8d3191b544fe7cc5c /commit.sh | |
| parent | ccec717c2a69ab7e64343abd817175dc5b7f2b2a (diff) | |
| download | texty-bd7f25c84345fa72a3b0c545f10f6b857d8e041a.tar.xz texty-bd7f25c84345fa72a3b0c545f10f6b857d8e041a.zip | |
feat:
Diffstat (limited to 'commit.sh')
| -rwxr-xr-x | commit.sh | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -59,10 +59,12 @@ commit() { then # If the branch is the current branch, commit the files git commit $1 -m "$2" + git push origin $branch else # If the branch is not the current branch, checkout the branch and commit the files git checkout $3 git commit $1 -m "$2" + git push origin $3 fi } |
