Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-3972

Store project and repository names in git config

    XMLWordPrintable

Details

    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      Example:

      /home/stash/data/repositories/1/config
      [stash]
          hierarchyid = 9b3731760974b2b323e7
      [repository]
          name = test-repo
      [project]
          name = PROJECT
      

      In this case we can easy get project and repository names in hook with command: `git config --get project.name`

      Attachments

        Issue Links

          Activity

            People

              bturner Bryan Turner (Inactive)
              7ef3b1ca8c73 Konstantin Mironov
              Votes:
              6 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: