RevisionControlSoftware:Git

From fritz'wiki
Revision as of 18:12, 3 March 2014 by Fritz (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

tutorial

http://tylerlim.tistory.com/32

git ignore

http://www.gitignore.io/

http://git-scm.com/book/en/Git-Branching-Basic-Branching-and-Merging

  1. 처음 프로젝트를 생성할 경우.
  2. --shared=group 이 있으면 repo 디렉토리에 git core.sharedRepository group or git core.sharedRepository true 가 자동으로 설정됨
  3. repo 디렉토리의 config 꼭 확인 , 1로 들어가는 경우가 있음


  1. remote repository

git init --bare --shared=group

모든 디렉토리에 SetGid 설정

find . -type d | xargs chmod g+s

remote branch 삭제 git push origin --delete [branch_name] http://stackoverflow.com/questions/2003505/how-do-i-delete-a-git-branch-both-locally-and-in-github

local branch 삭제 git branch -D [branch_name]

local branch create git checkout -b [branch_name]


  1. git submodules update

git submodule -q foreach git pull


clone 후 submodule 가지고 오려면 git submodule init git submodule update 혹은 git submodule update --init


  1. delete branch

http://gitready.com/beginner/2009/02/02/push-and-delete-branches.html

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox