more git commands

This commit is contained in:
Miguel Palhas
2024-10-06 14:38:05 +01:00
parent a436a816b6
commit 3073be8cf0
3 changed files with 173 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash -e
branch=$(git branchname)
base="$1"
shift
git reset $(git merge-base $base $branch)
git add -A
git commit "$@"