merge-main, neovim from source, aliases
This commit is contained in:
6
zsh/merge-main.sh
Executable file
6
zsh/merge-main.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/bash -e
|
||||
branch=$(git status|head -1|cut -f3 -d\ )
|
||||
git checkout main
|
||||
git pull
|
||||
git checkout "$branch"
|
||||
git merge main
|
||||
Reference in New Issue
Block a user