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

Store project and repository names in git config

XMLWordPrintable

    • 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.

      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`

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

                Created:
                Updated:
                Resolved: