tag = git.tag().setName("tag_for_testing").setAnnotated(true).call(); System.out.println("Created/moved tag " + tag + " to repository at " + repository.getDirectory());
tag = git.tag().setName("tag_for_testing").setAnnotated(true).call(); System.out.println("Created/moved tag " + tag + " to repository at " + repository.getDirectory());
public Ref saveAtHEAD(Git git) throws GitAPIException { String json = message.toJSONString(); ref = git.tag().setName(name()).setAnnotated(true).setMessage(json).call(); return ref; }