Welcome to mirror list, hosted at ThFree Co, Russian Federation.

clean.sh « build « testmodBuilder - github.com/gohugoio/testmodBuilder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d71e45eb9c18e63494bc7823f66477aee42b8688 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env bash 

# Delete version tags.
git fetch
git push origin --delete $(git tag -l)
git tag -d $(git tag -l)

rm -rf modh*

git add .
git commit -m "Clean"

# Start with a clean history.
git checkout --orphan new-master master
git commit -m "Init"
git branch -M new-master master
git push -f