Add custom git commands to dotfiles repo
Include git-branch-backup, git-fix-author, git-name-stash, git-name-stash-apply, git-rebase-on, and git-rename-branch in a new bin/ directory. Update install.sh to symlink them into ~/bin and document them in the README. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
4
bin/git-rebase-on
Executable file
4
bin/git-rebase-on
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/zsh -f
|
||||
|
||||
git branch-backup
|
||||
git checkout $1 && git pull && git checkout - && git rebase $1
|
||||
Reference in New Issue
Block a user