반응형

Open Source/git / svn / bazaar 6

[GIT] windows에서 invalid username (wincred)

http://www.codewrecks.com/blog/index.php/2015/06/23/git-for-windows-getting-invalid-username-or-password-with-wincred/ 만약 login이 귀찮아 wincred를 아래처럼 설정해서 썼다면, 비밀번호가 바뀌었을때 대략 난감해진다.git config --global credential.helper wincred 이 상황에서는 제어판의 "자격 증명 관리자" 를 찾아 들어가 관련 repository와 관련된 것을 지워주고 다시 git 명령을 치면 된다.

commit.template - default commit message

참고: http://git-scm.com/docs/git-config 진행 중인 프로젝트에서 commit을 할 때 의무적으로 적어야 하는 양식이 생겨버렸습니다. OTLwebkit 프로젝트처럼 저절로 관련된 정보들을 읽어와서 템플릿에 적절히 동작할 수 있도록 해주면 좋겠지만,최소한 의무적으로 들어가는 정보들을 무식하게 타이핑하는 것은 막아야 할 것 같아 방법을 찾아보다가 commit.template를 발견했습니다. 원래는 hook으로 해결하려고 했지만, hook을 사용하는 방법을 아직 잘 모르겠네요.(더 공부가 필요할 듯)일단, 이 방법이 더 쉬운 듯 합니다. git는 커밋할 때 template을 지정할 수 있습니다.이를 config로 저장할 수도 있습니다. 1) .git/config 파일 또는 ~/.gi..

resume in github

참고 : http://bunhere.tistory.com/324 github에 resume repo를 만들어보기로 마음먹었다. 일단 resume repo를 생성하여 index.html을 넣었다. 물론 master branch에 넣은 파일은 아무런 의미가 없다. 1) master branch 설정하기. # mkdir resume # cd resume/ # git init Initialized empty Git repository in /workspace/github/resume/.git/ # touch index.html # git add index.html # git commit -m "Add index.html in master branch" [master (root-commit) 481a88e] Ad..

github에 내 사이트 만들기.

참 고: https://github.com/blog/272-github-pages github 는 git repository 를 제공해주는 서비스입니다. 오픈소스 프로젝트를 만들때도 도움이 되지만, 이 서비스를 이용해 자신의 홈페이지를 만들수도 있습니다. 1) 일단, 가입하셔야합니다. (인터넷 참고) 2) {자기아이디}.github.com 라는 이름의 repository 를 만듭니다. (인터넷 참고) 잘 만들어졌는지 시키는데로 따라했습니다. mkdir bunhere.github.com cd bunhere.github.com git init touch README git add README git commit -m 'first commit' git remote add origin git@github.com..

svn과 proxy

svn을 통해 소스를 다운로드할 때 proxy를 사용한다면 다운로드가 되지 않을 수 있다. 이런 경우, 먼저 proxy 정보를 설정해볼 수 있다. http-proxy-host = 프록시 주소 or IP http-proxy-port = 프록시 포트 두번째, proxy 를 변경해야 할 수 있다. 이유는 proxy가 서브버전이 사용하는 http 메소드를 지원하지 않을 수 있기 때문이다. Squid의 경우 아래와 같은 config option을 추가하면 된다. # TAG: extension_methods # Squid only knows about standardized HTTP request methods. # You can add up to 20 additional "extension" methods her..

Git 사용법(Manual)

여기저기서 줏어모은 제가 자주 쓰는 git에 대한 명령어들입니다. 아래 참고 URL을 보시면 더 많은 정보가 있습니다. git manual http://www.slideshare.net/saharabeara/advanced-git-tutorial git tutorial http://www.funit.net/git http://gitimmersion.com/ (영어로 되어 있음. 따라하다가 포기 ^^;; ) 기타http://noiseandheat.com/blog/2012/02/lazy-one-liners-%60git-rm%60-all-deleted-files/ git 설명을 위한 이미지 1. 시작하기 git init git clone {remote repo} ex1 - git clone https://gi..

반응형