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. Change git realm in a project

Change git realm in a project

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
3 Posts 2 Posters 350 Views
  • 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.
  • SeDiS Offline
    SeDiS Offline
    SeDi
    wrote on last edited by SeDi
    #1

    Hi,
    somehow, in my latest project, git has started to analyze a folder too high in the tree. My project resides in C:/Users/SeDi/cpp/projectName/. This is where git should be on the watch.

    Instead apparently, it unfortunately covers C:/Users/SeDi/cpp/. This means: it tracks every change in every project I have. A huge mess...

    I don't know, where I have made that mistake, probably when setting up the project.

    Is there any way to change that folder (back), therewith limiting git's realm of vigilance to C:/Users/SeDi/cpp/projectName/, a.k.a. the actual project folder?

    Qt Creator 10.0.2, git version 2.10.0.windows.1

    P.S.: I do not need to keep the git history of this project so far, it would be totally fine, to start the version control process from scratch for this program, making the current content the initial commit
    .

    1 Reply Last reply
    0
    • Christian EhrlicherC Online
      Christian EhrlicherC Online
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Check for hidden .git folder in C:\Users\SeDi\cpp and delete it.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      2
      • SeDiS Offline
        SeDiS Offline
        SeDi
        wrote on last edited by
        #3

        Cool, that was easier than I'd thought! After that I just had to got to "Tools|Git|Create Repository", then I could initially commit. Thanks loads!

        1 Reply Last reply
        0
        • SeDiS SeDi has marked this topic as solved on
        • SeDiS SeDi has marked this topic as solved on

        • Login

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