box.jsoninside of it so CommandBox can tell the version and name of the package. If there is no
box.json, the name of the repo will be used as the package name.
commitby adding a "commit-ish" to the end of the URL.
box.jsonin this format. Remember, JSON requires that backslashes be escaped.
Info Note the git+ssh URL is a little different than a HTTP(S) URL. There is a colon (
:) after the host instead of a forward slash (
git+sshendpoint will look for a private SSH key in your
identity. If you are using a multi-key setup with a
~/.ssh/configfile, it will be read, and the appropriate key will be used for the host. The matching public key needs to be registered in the Git server.
Info If you are deploying to a server and you have not previously logged into the Git server from the new machine you will need to make sure the Git server is added to your
known_hostsfile. The quickest way to do this is to use
git clone [email protected]/user/repo.gitfrom the terminal OR add the line from your local machine to the server.
~/_netrcwith the following format: