Auto Build(CI SCM GIT)/git4 git 명령어 ---------------------------------------------------------------------------------깃 Bare Hock 사용법 git --bare initgit remote add {원하는Git서버명} ssh://{USER}@{IP}:{PORT}/{PATH}git --work-tree=/var/www/manager2 --git-dir=/home/mycup/git/test checkout -fgit remote add remotedev ssh://root@192.168.10.1:7777/ --------------------------------------------------------------------------------깃 리모트 브렌치 체크아웃 사용.. 2018. 11. 26. Git 빈폴더 추가 관리 하기 (git empty folder add) 빈폴더에 .keep 텍스트 파일을 만들어 관리 한다. touch .keep 모든 폴더를 검사해서 .keep 파일 생성. git clean -nd | sed s/'^Would remove '// | xargs -I{} touch "{}.keep" Log 폴더 관리 log 폴더와 같이 정말 빈 디렉토리만 존재하고 내부에 생성되는 파일은 Tracking할 필요가 없을 때는 .gitignore 파일을 만들어 사용한다. #ignore all files in this dir...*#... except for this one.!.gitignore 2018. 11. 1. Git 기본 명령어 / Git tag, Merge 기본 구조 특징1. 분산 개발 2. 강력한 선형 개발 지원 3. 대형 프로젝트에 합리적임 4. 암호회된 인증 히스토리 5. 손쉬운 스크립팅 도구 제공 Each file in the Working Directory can be in one of two states: Tracked or Untracked. All files in the Working Directory that were neither in the last snapshot nor in the Staging Area are Untracked files. Tracked files are files that were in the last snapshot; The Tracked files (e.g. Git controlled files) in turn.. 2016. 7. 21. use github 소셜 프로그래밍? gethub Sitehttps://github.com/mycup/ help githubhttp://help.github.com/ .installation Set up Git -ssh 인증키 생성 및 이것저것.. -듀토리얼 따라하면 다 할수 있음. .create Repository 여기 까지만 설정. .Fork (cloen) a Repo : 타 사용자의 Project cloen / fork 와 colen 은 다소 차이가 있음. .Besoial : ? 일반 개념 정의 *Local Repository - subVersion (SVN) 혹은 CVS라고 생각하고 사용한다면 혼란이 올수 있음. - 따로 설치하거나 구동하지 않음, 단지 자신의 OS에 git이 설치되어있고, Clone로 프로젝트를 다운 받았다면 파일이.. 2012. 7. 19. 이전 1 다음 728x90