문서의 선택한 두 판 사이의 차이를 보여줍니다.
| 다음 판 | 이전 판 | ||
|
wiki:3party:scm:git:gitlab [2020/07/22 14:11] dhan 만듦 |
wiki:3party:scm:git:gitlab [2023/02/10 19:11] (현재) dhan |
||
|---|---|---|---|
| 줄 1: | 줄 1: | ||
| ====== GitLab ====== | ====== GitLab ====== | ||
| + | <WRAP left notice 80%> | ||
| + | * description : Gitlab 사용법 기술 | ||
| + | * author | ||
| + | * email : dhan@repia.com | ||
| + | * lastupdate | ||
| + | </ | ||
| + | <WRAP clear/> | ||
| + | ===== 주요 명령어 ===== | ||
| + | gitlab 설정 파일 | ||
| + | < | ||
| + | cd / | ||
| + | $> sudo -s vi / | ||
| + | </ | ||
| + | \\ | ||
| + | gitlab 시작 및 종료 | ||
| + | <code bash> | ||
| + | cd / | ||
| + | $> sudo -s gitlab-ctl start | ||
| + | $> sudo -s gitlab-ctl stop | ||
| + | </ | ||
| + | [[https:// | ||
| + | \\ | ||
| + | gitlab 재 설정 후 재 시작 | ||
| + | <code bash> | ||
| + | cd / | ||
| + | $> sudo -s gitlab-ctl reconfigure | ||
| + | </ | ||
| + | \\ | ||
| + | gitlab 로그 확인 | ||
| + | < | ||
| + | cd / | ||
| + | $> sudo -s vi / | ||
| + | </ | ||
| + | ===== ssh key 생성 ===== | ||
| + | Windows | ||
| < | < | ||
| Git Bash 실행 | Git Bash 실행 | ||
| 줄 30: | 줄 64: | ||
| +----[SHA256]-----+ | +----[SHA256]-----+ | ||
| </ | </ | ||
| + | |||
| + | < | ||
| + | ssh-rsa AAAAB3..............................................사용자@컴퓨터이름 | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | Message: | ||
| + | https:// | ||
| + | |||
| + | |||
| + | Exception Stack Trace: | ||
| + | org.eclipse.jgit.api.errors.TransportException: | ||
| + | at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java: | ||
| + | at org.eclipse.jgit.api.PullCommand.call(PullCommand.java: | ||
| + | at org.eclipse.egit.core.op.PullOperation$1.run(PullOperation.java: | ||
| + | at org.eclipse.core.internal.resources.Workspace.run(Workspace.java: | ||
| + | at org.eclipse.core.internal.resources.Workspace.run(Workspace.java: | ||
| + | at org.eclipse.egit.core.op.PullOperation.execute(PullOperation.java: | ||
| + | at org.eclipse.egit.ui.internal.pull.PullOperationUI.execute(PullOperationUI.java: | ||
| + | at org.eclipse.egit.ui.internal.pull.PullOperationUI.access$0(PullOperationUI.java: | ||
| + | at org.eclipse.egit.ui.internal.pull.PullOperationUI$1.runInWorkspace(PullOperationUI.java: | ||
| + | at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java: | ||
| + | at org.eclipse.core.internal.jobs.Worker.run(Worker.java: | ||
| + | Caused by: org.eclipse.jgit.errors.TransportException: | ||
| + | at org.eclipse.jgit.transport.TransportHttp.handleSslFailure(TransportHttp.java: | ||
| + | at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java: | ||
| + | at org.eclipse.jgit.transport.TransportHttp.openFetch(TransportHttp.java: | ||
| + | at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java: | ||
| + | at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java: | ||
| + | at org.eclipse.jgit.transport.Transport.fetch(Transport.java: | ||
| + | at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java: | ||
| + | ... 10 more | ||
| + | Caused by: javax.net.ssl.SSLHandshakeException: | ||
| + | at sun.security.ssl.Alerts.getSSLException(Alerts.java: | ||
| + | at sun.security.ssl.Alerts.getSSLException(Alerts.java: | ||
| + | at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java: | ||
| + | at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java: | ||
| + | at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java: | ||
| + | at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java: | ||
| + | at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java: | ||
| + | at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java: | ||
| + | at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java: | ||
| + | at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java: | ||
| + | at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java: | ||
| + | at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java: | ||
| + | at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java: | ||
| + | at org.eclipse.jgit.transport.http.JDKHttpConnection.getResponseCode(JDKHttpConnection.java: | ||
| + | at org.eclipse.jgit.util.HttpSupport.response(HttpSupport.java: | ||
| + | at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java: | ||
| + | ... 15 more | ||
| + | |||
| + | |||
| + | Session Data: | ||
| + | eclipse.buildId=4.7.3.M20180330-0640 | ||
| + | java.version=1.8.0_20 | ||
| + | java.vendor=Oracle Corporation | ||
| + | BootLoader constants: OS=win32, ARCH=x86_64, | ||
| + | Framework arguments: | ||
| + | Command-line arguments: | ||
| + | |||
| + | |||
| + | </ | ||
| + | |||
| + | < | ||
| + | <?xml version=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | </ | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | </ | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | </ | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | </ | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | ===== 백업 ===== | ||
| + | * [[https:// | ||
| + | ===== 설치 ===== | ||
| + | [[https:// | ||
| + | |||
| + | |||
| + | ===== Tip ===== | ||
| + | * 프로젝트 이벤트 알람 보내기 | ||
| + | - ${프로젝트명} > Settings > Integrations > Emails on push 이동 | ||
| + | - 옵션을 체크한 이후 마지막에 메일 주소를 입력하고 저장하면 됩니다. | ||
| + | |||
| + | {{: | ||
| + | | ||
| + | |||
| + | ===== Troubleshooting ===== | ||
| + | [[https:// | ||
| + | [[https:// | ||
| + | [[https:// | ||
| + | |||
| + | {{tag> | ||
| + | |||