Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt Creator and private GIT repositories
Qt 6.11 is out! See what's new in the release blog

Qt Creator and private GIT repositories

Scheduled Pinned Locked Moved Qt Creator and other tools
4 Posts 2 Posters 3.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kortus
    wrote on last edited by
    #1

    Hello together,

    is there a way to handling username and password for git repositories in the QtCreator 2.7?

    At the moment I use the address with this additional parts (like "http://username:password@repository/git/foo.git") and add this to my Remote repositories (very bad, because the password is visible). And now I have to set the upstream for the master branch at the command line (git push set upstream <RemoteName> master. And the I can use the internal Qt mechanism.

    Thanks

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      I am not aware of support for HTTP-based authentication in Creator.

      Can you use SSH-key based authentication? That is the most elegant way of authenticating with git. It also uses a more efficient protocol than git-over-http.

      1 Reply Last reply
      0
      • K Offline
        K Offline
        kortus
        wrote on last edited by
        #3

        The problem is that QtCreator uses the command line git tool and this asks about user and password during the connection process.

        But your answer gives me the energy to establish the SSH components on my windows PC. And now I have access to my repository.

        Thanks!

        1 Reply Last reply
        0
        • T Offline
          T Offline
          tobias.hunger
          wrote on last edited by
          #4

          Looking into using libgit to get this worknig is on my todo list for a long time now... The problem is that this will be a huge change and I have not even found the time to investigate whether libgit would work for us at all.

          Anyway: Patches would be very much appreciated there... Just saying:-)

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved