mirror of
https://github.com/qvacua/vimr.git
synced 2024-12-27 15:53:31 +03:00
16 lines
335 B
Bash
16 lines
335 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
echo "### Preparing repositories"
|
||
|
|
||
|
# ## delete all (local) tags
|
||
|
git tag | xargs git tag -d
|
||
|
|
||
|
# ## delete all (local) branches
|
||
|
git for-each-ref --format="%(refname:strip=2)" refs/heads/ | xargs git branch -D
|
||
|
git checkout -b for_build
|
||
|
|
||
|
# ## update neovim
|
||
|
git submodule update --init --force
|
||
|
|
||
|
echo "### Prepared repositories"
|