Git : Add git_resign function.
This commit is contained in:
parent
6e25402f04
commit
6c910177df
|
@ -195,6 +195,11 @@
|
||||||
open "''${url}"
|
open "''${url}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Resign all the old commits.
|
||||||
|
function git_resign() {
|
||||||
|
git rebase --exec 'git commit --amend --no-edit -n -S' -i --root
|
||||||
|
}
|
||||||
|
|
||||||
# Show current branch.
|
# Show current branch.
|
||||||
function _git_current_branch() {
|
function _git_current_branch() {
|
||||||
git branch --show-current 2> /dev/null
|
git branch --show-current 2> /dev/null
|
||||||
|
|
Loading…
Reference in a new issue