खोज…


वाक्य - विन्यास

  • git flow <subcommand>
  • git प्रवाह init
  • git flow [फीचर | रिलीज़ | हॉटफ़िक्स] [प्रारंभ | फिनिश]

पैरामीटर

Subcommand विवरण
इस में ब्रांचिंग मॉडल के समर्थन के साथ एक नया गिट रेपो शुरू करें।
सुविधा अपनी सुविधा शाखाएं प्रबंधित करें।
रिहाई अपनी रिलीज़ शाखाएँ प्रबंधित करें।
हॉटफिक्स अपनी हॉटफिक्स शाखाओं को प्रबंधित करें।

टिप्पणियों

स्थानीय स्तर पर 5 आम शाखाओं पर संचालन

Gitflow के सबसे आम उपयोग मामलों में से एक

  1. रेपो को आरम्भ करें और शाखाओं को परिभाषित करें
$ git flow init
    # if you use default setup, you'll define six types of branches:
    #
    # main branches (lives forever)
    #
    #   1. master:  for production releases
    #   2. develop: for "next release" development
    #
    # supporting branches
    #
    #   3. feature: for a product feature
    #   4. release: for preparation of a new production release
    #   5. hotfix:  for resolving critical bug of production version
    #   6. support
    #
    # also, two main branches are created: master, develop
  1. एक सुविधा शुरू और समाप्त करें
$ git flow feature start my_feature
    # create branch 'feature/my_feature' based on the 'develop'

    # made development and commits...

$ git flow feature finish my_feature
    # merge 'feature/my_feature' back to the 'develop'
    # delete 'feature/my_feature'
  1. एक रिलीज शुरू और समाप्त करें
$ git flow release start my_release
    # create branch 'release/my_release' based on the 'develop'

    # made bug fixes...

$ git flow release finish my_release
    # merge branch 'release/my_release' to the 'master' and add tag
    # merge branch 'release/my_release' back to the 'develop'
    # delete 'release/my_release'
  1. एक हॉटफ़िक्स शुरू और समाप्त करें
$ git flow hotfix start my_hotfix
    # create branch 'hotfix/my_hotfix' based on the 'master'

    # made some hotfixes...

$ git flow hotfix finish my_hotfix
    # merge branch 'hotfix/my_hotfix' back to the 'master' and add tag
    # merge branch 'hotfix/my_hotfix' to the 'develop'
    # delete 'hotfix/my_hotfix'


Modified text is an extract of the original Stack Overflow Documentation
के तहत लाइसेंस प्राप्त है CC BY-SA 3.0
से संबद्ध नहीं है Stack Overflow