improved git flow
This commit is contained in:
@@ -249,7 +249,6 @@ in
|
||||
# Stage all and amend to last commit
|
||||
fix = "!git add . && git commit --amend --no-edit";
|
||||
# Stage all, amend, rebase, and force push with lease
|
||||
sync = "!f() { git add . && git commit --amend --no-edit && git rebase origin/$(git rev-parse --abbrev-ref HEAD) && git push --force-with-lease; }; f";
|
||||
fck = "!f() { git add . && git commit --amend --no-edit && git rebase origin/$(git rev-parse --abbrev-ref HEAD) && git push --force-with-lease; }; f";
|
||||
# Stage all, commit with message, and push
|
||||
save = "!f() { git add --all && git commit -m \"$*\" && git push; }; f";
|
||||
|
||||
Reference in New Issue
Block a user