... | ... | @@ -67,4 +67,20 @@ Modify C:/Users/*username*/.ssh/config and enter the following: |
|
|
HostName gitlab.studentnet.int
|
|
|
IdentityFile ~/.ssh/id_rsa_github
|
|
|
User gitlab
|
|
|
``` |
|
|
\ No newline at end of file |
|
|
```
|
|
|
|
|
|
### HTTPS Setup
|
|
|
|
|
|
This method will setup your git installation to use https. This is mainly for windows. It can be adapted for linux. If you use linux, you will instead use ca-certificates and import it into your bundle. Google it to find out what to do.
|
|
|
|
|
|
1. Download the [CA Certificate](http://eaglesnesterrors.pcci.edu/pcc-ca.crt). You might have to right click and use save-target-as.
|
|
|
2. Open Git Bash anywhere
|
|
|
3. run `git config --global http.sslCAInfo <place-where-you-have-ca-certificate>`
|
|
|
|
|
|
Do not use back-slashes for the file path. Use forward-slashes instead.
|
|
|
|
|
|
If you need to disable the certificate, run `git config --global --unset http.sslCAInfo`, and it will go back to the built-in CA's.
|
|
|
|
|
|
# Questions/Comments
|
|
|
|
|
|
Please use the issue tracker for PCC-Wiki. |
|
|
\ No newline at end of file |