empty Git repository in /Users/naomichi/Desktop/ testrep/.git/ No branches exist yet. Base branches must be created now. Branch name for production releases: [master] Branch name for "next release" development: [develop] How to name your supporting branch prefixes? Feature branches? [feature/] Release branches? [release/] Hotfix branches? [hotfix/] Support branches? [support/] Version tag prefix? [] $ git branch -a * develop master NBTUFSϒϥϯνɺGFBUVSFϒϥϯνΛ໋໊ GFBUVSFϒϥϯνදࣔ͞Εͳ͍ʢޙड़ʣ
add . $ git commit -m "first commit" $ git flow feature start 100 Switched to a new branch 'feature/100' Summary of actions: - A new branch 'feature/100' was created, based on 'develop' - You are now on branch 'feature/100' Now, start committing on your feature. When done, use: git flow feature finish 100 $ git branch develop * feature/100 master 3FENJOFͷ։ൃΛ։࢝ EFWFMPQϒϥϯνΛݩʹGFBUVSFϒϥϯν͕࡞͞Εͨ ϒϥϯν͕Ճ͞ΕΔ
to a new branch 'release/20120401' Summary of actions: - A new branch 'release/20120401' was created, based on 'develop' - You are now on branch 'release/20120401' Follow-up actions: - Bump the version number now! - Start committing last-minute fixes in preparing your release - When done, run: git flow release finish '20120401' $ git branch develop master * release/20120401 SFMFBTFϒϥϯνΛ։࢝ EFWFMPQϒϥϯνΛݩʹSFMFBTFϒϥϯν͕࡞͞Εͨ SFMFBTFϒϥϯν͕ΞΫςΟϒʹͳΔ
git commit -m "first commit" $ git flow release finish 1.0 Switched to branch 'master' Merge made by recursive. greeting | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) create mode 100644 greeting create mode 100644 hello Deleted branch release/1.0 (was 58f1c0d). Summary of actions: - Latest objects have been fetched from 'origin' - Release branch has been merged into 'master' - The release was tagged '1.0' - Release branch has been back-merged into 'develop' - Release branch 'release/1.0' has been deleted [naomichi: test]$ git tag 20120401 SFMFBTFϒϥϯνΛऴྃ͠ɺNBTUFSEFWFMPQϒϥϯνʹϚʔδ͢Δ ϚʔδͱNBTUFSϒϥϯνͷλά͚͕ߦΘΕͨ
20120401_200 Switched to a new branch 'hotfix/20120401_200' Summary of actions: - A new branch 'hotfix/20120401_200' was created, based on 'master' - You are now on branch 'hotfix/20120401_200' Follow-up actions: - Bump the version number now! - Start committing your hot fixes - When done, run: git flow hotfix finish '20120401_200' $ git branch develop * hotfix/20120401_200 master 3FENJOFͷϗοτϑΟοΫεΛ։࢝ NBTUFSϒϥϯνΛݩʹIPU fi YϒϥϯνΛ࡞ IPU fi Yϒϥϯν͕Ճ͞ΕΔ
greeting $ git commit -m "fixed spell" -a # On branch hotfix/20120401_200 nothing to commit (working directory clean) $ git flow hotfix finish 20120401_200 Switched to branch 'develop' Already up-to-date! Merge made by recursive. Deleted branch hotfix/20120401_200 (was 8aeddfd). Summary of actions: - Latest objects have been fetched from 'origin' - Hotfix branch has been merged into 'master' - The hotfix was tagged '20120401_200' - Hotfix branch has been back-merged into 'develop' - Hotfix branch 'hotfix/20120401_200' has been deleted εϖϧϛεΛमਖ਼ͯ͠ίϛοτ ϗοτϑΟοΫεΛऴΘΒͤΔ ϗοτϑΟοΫεΛNBTUFSEFWFMPQϒϥϯνʹө