Skip to content
Pavel Senin edited this page Jan 13, 2018 · 1 revision

to delete a tag

git tag -d 'jmotif-sax-1.1.3'
git push origin :refs/tags/jmotif-sax-1.1.3

to reset to remote

git reset --hard origin/master

to rewrite history

git reset --hard 7e6680d06c1b28b55d750e9d1cfe1f00671523db
git push -f origin master

to release

mvn -Dresume=false org.apache.maven.plugins:maven-release-plugin:2.5.3:clean
mvn -Dresume=false org.apache.maven.plugins:maven-release-plugin:2.5.3:prepare
mvn -Dresume=false org.apache.maven.plugins:maven-release-plugin:2.5.3:perform

to list local keys and to distribute em

gpg --list-keys
gpg --keyserver hkp://pgp.mit.edu --send-keys F70AB99E
Clone this wiki locally