How to push example.war file to github using JGIT api in java

i am trying to push war file to atlassian hub push is success but war file is not reflecting in hub please help me to push.
This is my code
“git.add().addFilepattern(”.").call();
git.commit().setAll(true).setMessage(“Commit all changes including additions”).call();
git.add().addFilepattern("*").call();
git.commit().setAll(true).setMessage(“initial commit”).call();
git.push().setCredentialsProvider(new UsernamePasswordCredentialsProvider(userName, password)).call();"

Can you expand on what the Atlassian hub is?

1 Like