diff options
Diffstat (limited to 'shellrc')
-rw-r--r-- | shellrc | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -90,6 +90,15 @@ gitbmerge() { ) } +# Create new branch from master +gitbnew() { + git branch "$1" master + local NW="$(git rev-parse --show-toplevel)-$1" + git worktree add "$NW" $1 + cd "$NW" + git submodule update --init --recursive +} + # Make screenshot xshot() { import -window "$(xdotool selectwindow)" ~/xshot_$(date +%F_%H%M%S_%N).png |