목록git (3)
삶 가운데 남긴 기록 AACII.TISTORY.COM
원격 브랜치 로컬로 가져오기(fetch) 원격 저장소(orign)의 모든 원격 브랜치를 로컬로 가져옴 git fetch origin 체크아웃 할 수 있는 브랜치 목록 확인 git branch -a 브랜치 목록 중에서 원격 브랜치에는 remotes/origin 접두사가 붙어 있습니다. 원격 브랜치 업데이트 원격 저장소의 브랜치들을 갱신 git remote update 원격 저장소 브랜치 목록 확인 git branch -r 그런데 삭제된 원격 브랜치가 목록에 나오는 경우가 있습니다. git remote update 명령은 원격 저장소에서 삭제된 브랜치들을 로컬 저장소에서 정리하지는 않기 때문입니다. 모든 원격 저장소에 대해 삭제된 브랜치 정보를 정리(prune)하려면 아래와 같이 입력합니다. git fetc..
이미 푸시 해버린 폴더나 파일들을 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..