티스토리 뷰
production branch : masterintegration branch : developfeature branchhotfix branch# production에서 나오는 branch 는 hotfix만# 나머지는 모두 integration branch에서 나옴#확인#git log --oneline --decorate#git reflog#git branch -agit initgit config --global alias.st statusgit config --global alias.co checkoutgit co -b developgit co -b feature/add-testgit add .git commit -m ""# commit message 첫줄은 Title Line# 그 다음줄부터 Description# Title Line은 동사원형으로 시작, 첫글자 대문자 ex) Add a feature to Updategit co developgit merge feature/add-test# merge : fast forward(위), no fast forward(아래, --no-ff)git co -b feature/test2# .git/refs/heads 경로 확인git add .git commit -m ""git co developgit merge --no-ff feature/test2git co -b release/0.1git add .git commit -m ""git co mastergit merge release/0.1git co -b production/agit tag 0.1## git flowgit flow initHow to name your supporting branch prefixes?Feature branches? [feature/]Bugfix branches? [bugfix/]Release branches? [release/]Hotfix branches? [hotfix/]Support branches? [support/]Version tag prefix? [] release-Hooks and filters directory? [D:/github/gitstudy2/.git/hooks]git flow feature start add-testgit flow feature finish add-testgit flow release start 0.1git flow release finish 0.1git tag
'Programming > .common' 카테고리의 다른 글
User Story와 Usability (0) | 2020.06.07 |
---|---|
왜 스파크인가? (0) | 2018.12.09 |
HTML + CSS 연습 (0) | 2017.11.16 |
Java Logging with Eclipse (0) | 2017.11.10 |
RESTful API란 ? (11) | 2017.11.08 |
댓글