목록git (3)
삶 가운데 남긴 기록 AACII.TISTORY.COM
원격 브랜치 로컬로 가져오기(fetch)1. 원격 저장소(orign)의 모든 원격 브랜치를 로컬로 가져옴git fetch origin 2. 체크아웃할 수 있는 브랜치 목록 확인git branch -a브랜치 목록 중에서 원격 브랜치에는 remotes/origin 접두사가 붙어 있습니다. 로컬 브랜치를 분리 생성 후 원격 브랜치에 적용1. 분리하려는 원본 브랜치를 checkout 합니다.git checkout 분리하려는브랜치이름 2. 로컬 저장소에 분리하려는 새로운 브랜치를 생성합니다.git checkout -b 분리생성할브랜치이름 3. 원격 저장소에 새 브랜치를 push 해 줍니다.git push origin 로컬에분리생성된브랜치이름 원격 브랜치 업데이트1. 원격 저장소의 브랜치들을 갱신git rem..
이미 푸시 해버린 폴더나 파일들을 git에서 추적 중지하려면 git ignore 으로는 되지 않습니다. 이미 푸시 된 폴더나 파일의 추적을 중지 하려면 아래와 같이 입력합니다. $ git update-index --skip-worktree 파일이나폴더이름 예를 들어 아래와 같이 추적 중지를 할 수 있습니다. $ git update-index --skip-worktree .settings/* $ git update-index --skip-worktree .metadata/* $ git update-index --skip-worktree .classpath $ git update-index --skip-worktree .project

https://about.gitlab.com/install/#centos-7?version=ce Download and install GitLab Learn about the various GitLab installation packages and downloads for Ubuntu, Debian, Docker, Google Cloud, and many more. about.gitlab.com GitLab은 EE 버전과 CE 버전이 있는데 CE(Community Edition) 버전이 무료 버전입니다만, 공식 사이트에서는 기본적으로 EE 버전으로 설치 가이드가 작성되어 있어서 따로 CE버전 설치 방법을 포스팅하겠습니다. 1. Git 설치 우선 git이 설치되어있는지 확인합니다. git --version..