Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-7885

Include tags in Git import instructions (BB-9056)

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      The git import instructions displayed after creating a repo and selecting the option to push up an existing repo give the instructions:

      #!bash
      
      cd /path/to/my/repo
      git remote add origin ssh://git@bitbucket.org/user/repository.git
      git push -u origin --all   # to push up the repo for the first time
      

      The instructions should also include:

      #!bash
      
      git push -u origin --tags # to push up all tags
      
      

      so that tags are included, since is this is what most (unexperienced) git users will want. The two lines that push could be combined into:

      #!bash
      
      git push -u origin --all && git push -u origin --tags # to push up all branches and tags
      
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            6437eba52862 Joseph Earl
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: