mirror of
https://github.com/qvacua/vimr.git
synced 2024-12-18 11:11:34 +03:00
22 lines
389 B
Bash
Executable File
22 lines
389 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
echo "### Preparing repositories"
|
|
|
|
# delete all (local) tags
|
|
git tag | xargs git tag -d
|
|
|
|
pushd NvimView/neovim
|
|
git tag | xargs git tag -d
|
|
popd
|
|
|
|
# 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"
|