목록Git desktop (6)
백지부터 시작하는 이세계 코딩 생활
git pull 또는 git push 를 CLI 방식으로 처리할 때 커맨드 마다 user.name과 password를 일일이 입력해줘야 한다. 이 작업단계를 자동화 하고자 계정정보를 캐싱처리를 해둔다. 캐싱은 timeout 값으로 정해지며 시간이 지나면 캐시삭제가 됨을 인지하고 있자. $ git config credential.helper store $ git config --global credential.helper 'cache --timeout 60000' Ref. https://kibua20.tistory.com/88
git pull 과정에서 충돌로 인해 원할한 Merge가 이뤄지지 않을 때 해결 순서 정리 1. git stash 2. git pull 또는 git pull [원격저장소 이름] 3. git stash pop 2번과 3번 과정에서 생기는 일들은 gid add 로 처리할 수 있다. git add [추가하려는 파일 이름] : 특정 파일을 commit 가능한 상태로 추가. git add . : 명령어를 실행한 디렉토리 이하에서 발생한 변경내용만 포함하여 추가. git add -A : 작업 디렉토리 위치와 무관하게 모든 변경사항을 추가. ---- * git stash 처리를 하는 과정 중에 에러가 발생했을 경우. enkins@fit-ada-kr-release-210604:/service/server/jenkins..
branch (development project) 의 내용을 master (release proejct) 에 합치는 방법 pull request 를 활용한다. pull request 생성 1. 해당 Branch 선택 (checkout) 2. Branch 카테고리에서 Create pull request 선택 선택시 git repository로 이동함. 3. base와 compare 설정 3.1 base는 합쳐져야 할 곳 : release (master) 3.2 compare 는 합쳐야할 내용이 있는 곳 : branch (development) 하단에 Create pull request 버튼 클릭 (초록버튼) 4. 하단에 Merge pull request 클릭 5. commit 메세지와 함께 Confirm..
github.com/github/gitignore/blob/master/Global/Eclipse.gitignore github/gitignore A collection of useful .gitignore templates. Contribute to github/gitignore development by creating an account on GitHub. github.com 추천하는 gitignore 파일 리스트 >> .metadata bin/ tmp/ *.tmp *.bak *.swp *~.nib local.properties .settings/ .loadpath .recommenders # External tool builders .externalToolBuilders/ # Locally sto..
pull 하는 과정에서 발생한 에러 >> changes or stash them before you merge. 해결방법 >> # git stash && git pull origin master && git stash pop 또는 일일이 적어준다 >> git stash git pull origin master git stash pop Pull is not possible because you have unmerged files git commit -am '커밋메시지' 이렇게 적어주고 github desktop 에서 pull 처리 해주니 작동한다. Ref. https://goddaehee.tistory.com/253 [Git (6)] git pull 에러 해결방법 (Your local changes to ..