Flow release của cty hơi suck. SVN. GIT.
Search gg xem flow git với release branch ntn.
http://stackoverflow.com/questions/16386323/following-git-flow-how-should-you-handle-a-hotfix-of-an-earlier-release
git checkout 6.0
git checkout -b support/6.x
git checkout -b hotfix/6.0.1
... make your fix, then:
git checkout support/6.x
git merge hotfix/6.0.1
git branch -d hotfix/6.0.1
git tag 6.0.1
or using git flow commands
git flow support start 6.x 6.0
git flow hotfix start 6.0.1 support/6.x
... make changes then:
git flow hotfix finish 6.0.1
Bash trace lịch sử change của branch:
http://stackoverflow.com/questions/2514172/listing-each-branch-and-its-last-revisions-date-in-git
List branch sắp theo ngày mod:
http://stackoverflow.com/questions/5188320/how-can-i-get-a-list-of-git-branches-ordered-by-most-recent-commit
Basic Usage:
git for-each-ref --sort=-committerdate refs/heads/
# or using git branch (since version 2.7.0)
git branch --sort=-committerdate (DESC)
git branch --sort=committerdate (ASC)
git for-each-ref --sort=committerdate refs/heads/ --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(color:red)%(objectname:short)%(color:reset) - %(contents:subject) - %(authorname) (%(color:green)%(committerdate:relative)%(color:reset))'
Search gg xem flow git với release branch ntn.
http://stackoverflow.com/questions/16386323/following-git-flow-how-should-you-handle-a-hotfix-of-an-earlier-release
git checkout 6.0
git checkout -b support/6.x
git checkout -b hotfix/6.0.1
... make your fix, then:
git checkout support/6.x
git merge hotfix/6.0.1
git branch -d hotfix/6.0.1
git tag 6.0.1
or using git flow commands
git flow support start 6.x 6.0
git flow hotfix start 6.0.1 support/6.x
... make changes then:
git flow hotfix finish 6.0.1
Bash trace lịch sử change của branch:
http://stackoverflow.com/questions/2514172/listing-each-branch-and-its-last-revisions-date-in-git
List branch sắp theo ngày mod:
http://stackoverflow.com/questions/5188320/how-can-i-get-a-list-of-git-branches-ordered-by-most-recent-commit
Basic Usage:
git for-each-ref --sort=-committerdate refs/heads/
# or using git branch (since version 2.7.0)
git branch --sort=-committerdate (DESC)
git branch --sort=committerdate (ASC)
git for-each-ref --sort=committerdate refs/heads/ --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(color:red)%(objectname:short)%(color:reset) - %(contents:subject) - %(authorname) (%(color:green)%(committerdate:relative)%(color:reset))'
Comments
Post a Comment