티스토리 뷰

Programming/.common

git flow

가그린민트 2018. 6. 17. 21:51


production branch : master
integration branch : develop
feature branch
hotfix branch
# production에서 나오는 branch 는 hotfix만
# 나머지는 모두 integration branch에서 나옴
#확인
#git log --oneline --decorate
#git reflog
#git branch -a
git init
git config --global alias.st status
git config --global alias.co checkout
git co -b develop
git co -b feature/add-test
git add .
git commit -m ""
# commit message 첫줄은 Title Line
# 그 다음줄부터 Description
# Title Line은 동사원형으로 시작, 첫글자 대문자 ex) Add a feature to Update
git co develop
git 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 develop
git merge --no-ff feature/test2
git co -b release/0.1
git add .
git commit -m ""
git co master
git merge release/0.1
git co -b production/a
git tag 0.1
## git flow
git flow init
How 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-test
git flow feature finish add-test
git flow release start 0.1
git flow release finish 0.1
git 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
댓글
링크
최근에 달린 댓글
«   2024/04   »
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
Total
Today
Yesterday