본문 바로가기

Git5

git service 비교 git service 비교 Feature Gitea GitHub EE GitLab CE GitLab EE BitBucket Open source and free ✓ ✘ ✓ ✘ ✘ Low RAM/ CPU usage ✓ ✘ ✘ ✘ ✘ Multiple database support ✓ ✘ ⁄ ⁄ ✓ Multiple OS support ✓ ✘ ✘ ✘ ✘ Easy upgrades ✓ ✘ ✓ ✓ ✘ Telemetry ✘ ✓ ✓ ✓ ✓ Third-party render tool support ✓ ✘ ✘ ✘ ✓ WebAuthn (2FA) ✓ ✓ ✓ ✓ ✓ Extensive API ✓ ✓ ✓ ✓ ✓ Built-in Package/Container Registry ✓ ✓ ✓ ✓ ✘ Sync commits to an ext.. 2023. 8. 4.
자주 사용하는 git 명령어 기본 명령어 새 Git 저장소 초기화: git init 기존 저장소 복제: git clone 저장소 상태 확인: git status 파일을 스테이징 영역에 추가: git add 또는 git add . (모든 파일 추가) 변경 사항 커밋: git commit -m "" 커밋 히스토리 보기: git log 브랜치 & 병합 새 브랜치 생성: git branch 브랜치로 전환: git checkout 새 브랜치 생성 및 전환: git checkout -b 브랜치를 활성 브랜치로 병합: git merge 브랜치 삭제: git branch -d 원격 저장소 로컬 저장소를 원격 서버에 연결: git remote add origin 변경 사항을 원격 저장소에 푸시: git push origin 원격 저장소에서 최신 변.. 2023. 8. 3.
git을 활용한 directory 지정 클론 보통 잘 많이 사용하지 않는 것 같아 이번 기회에 내용을 담아보려 합니다. 사실 이 방법을 알고 있다면 시스템 관리자 입장에서는 프로젝트 단위 컨피그 관리가 편해집니다. 아래와 같이 컨피그를 관리 한다고 가정하에. 그리고 아래와 같은 디렉토리 구조를 가져 갑니다. ~/Documents/config (main) » tree A-Project ted@teds-MacBook-Pro A-Project └── nginx └── conf.d 3 directories, 0 files ------------------------------------------------------------------------------------------------------------------------------------.. 2023. 7. 24.
git clone 오류 server certificate verification failed. CAfile: none CRLfile: none git clone https://xxx.xxxxx.com/xxxx/axxt-xx.git Cloning into 'about-miindo'... fatal: unable to access 'https://gxx.xxxxx.com/xxxxx/about-xxx.git/': server certificate verification failed. CAfile: none CRLfile: none 위와 같은 오류를 만나게 되면 결국은 certificate 오류다 오류라이 보다는 인증되지 않는 파일로 인한것이다. 그러니 아래와 같이 ssl 확인을 false로 변경한다. git config --glob.. 2022. 11. 29.
GitLab 설치 Download and install GitLab Download and install GitLab Download, install and maintain your own GitLab instance with various installation packages and downloads for Linux, Kubernetes, Docker, Google Cloud and more. about.gitlab.com 종속성 패키지 설치 sudo apt-get install -y curl openssh-server ca-certificates tzdata perl sudo apt-get install -y postfix Gitlab 추가 패키지 설치 curl -sS https://packages.gitlab.c.. 2022. 11. 11.