Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 925 Bytes

Using-cac-agent-with-Git.md

File metadata and controls

31 lines (18 loc) · 925 Bytes

Using cac-jgit

Locating the Executable Jar

You should have a version of this executable jar (available here):

cac-jgit-XXX-jar-with-dependences.jar

Using cac-jgit

The Now we can simply call the cac-agent jar as if it were the jgit executable:

# All excutions take this form:
java -jar cac-jgit-XXX-jar-with-dependences.jar <git commands>

# For example:
java -jar cac-jgit-XXX-jar-with-dependences.jar clone https://our-server.gov/repo.git

IMPORTANT NOTE: Our current git servers generally respond with this prompt:

Username for https://[email protected]/repo.git/info/refs?service=git-upload-pack: 

Just press ENTER to skip this prompt, which will be followed by a different username/password prompt (which actually works):

Username: user
Password: