Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Next Git Question

Next Git Question

Scheduled Pinned Locked Moved The Lounge
questioncsharpvisual-studiowpfcollaboration
5 Posts 5 Posters 0 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
    Kevin Marois
    wrote on last edited by
    #1

    I have an a WPF app I'm working on. The solution has 4 projects specific to the app. However the solutuion also references 10 of my framework projects. My framework has 16 individual projects. Each is comprised of their own solutions & projects. When I checked the app's solution into Git, only the 4 app projects were added. It seems that I have to go to each of the framework projects and individually add each project to Git. And, in the app's solution file, the framework projects don't show the source control icons. Can't I manage Git checkins/gets for all of the projects from the app's solution? The way it appears now, if I make a change to any framework code, I would have to open that project in VS and commit. I'm assuming I'm doing something wrong here.

    If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.

    S S J 3 Replies Last reply
    0
    • K Kevin Marois

      I have an a WPF app I'm working on. The solution has 4 projects specific to the app. However the solutuion also references 10 of my framework projects. My framework has 16 individual projects. Each is comprised of their own solutions & projects. When I checked the app's solution into Git, only the 4 app projects were added. It seems that I have to go to each of the framework projects and individually add each project to Git. And, in the app's solution file, the framework projects don't show the source control icons. Can't I manage Git checkins/gets for all of the projects from the app's solution? The way it appears now, if I make a change to any framework code, I would have to open that project in VS and commit. I'm assuming I'm doing something wrong here.

      If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.

      S Offline
      S Offline
      Scott Serl
      wrote on last edited by
      #2

      git commits are unrelated to solutions...commits are related to repositories. How you commit your code depends on how you break it up between repositories. If you code resides in more than one repository, then you must make separate commits to each repository. In other words, each repository is versioned separately.

      1 Reply Last reply
      0
      • K Kevin Marois

        I have an a WPF app I'm working on. The solution has 4 projects specific to the app. However the solutuion also references 10 of my framework projects. My framework has 16 individual projects. Each is comprised of their own solutions & projects. When I checked the app's solution into Git, only the 4 app projects were added. It seems that I have to go to each of the framework projects and individually add each project to Git. And, in the app's solution file, the framework projects don't show the source control icons. Can't I manage Git checkins/gets for all of the projects from the app's solution? The way it appears now, if I make a change to any framework code, I would have to open that project in VS and commit. I'm assuming I'm doing something wrong here.

        If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.

        S Offline
        S Offline
        Shuqian Ying
        wrote on last edited by
        #3

        We developed our own git forest (each git repo is called a repo tree) manager that once a visual studio project file is given, it can find all explicit dependencies (projects) and perform git operations on the forest in batch, it could save quite a lot efforts and reduce inconsistencies

        Find more in V-NET: connects your resources anywhere[^].

        R 1 Reply Last reply
        0
        • S Shuqian Ying

          We developed our own git forest (each git repo is called a repo tree) manager that once a visual studio project file is given, it can find all explicit dependencies (projects) and perform git operations on the forest in batch, it could save quite a lot efforts and reduce inconsistencies

          Find more in V-NET: connects your resources anywhere[^].

          R Offline
          R Offline
          Rick York
          wrote on last edited by
          #4

          Yes, it probably does for you but that does not help him in the slightest.

          "They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"

          1 Reply Last reply
          0
          • K Kevin Marois

            I have an a WPF app I'm working on. The solution has 4 projects specific to the app. However the solutuion also references 10 of my framework projects. My framework has 16 individual projects. Each is comprised of their own solutions & projects. When I checked the app's solution into Git, only the 4 app projects were added. It seems that I have to go to each of the framework projects and individually add each project to Git. And, in the app's solution file, the framework projects don't show the source control icons. Can't I manage Git checkins/gets for all of the projects from the app's solution? The way it appears now, if I make a change to any framework code, I would have to open that project in VS and commit. I'm assuming I'm doing something wrong here.

            If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.

            J Offline
            J Offline
            Jacquers
            wrote on last edited by
            #5

            Scott is correct. Loading solutions / projects that are from different repos won't show the icons for all of them in VS. It only likes to connect to one repo at a time, although I think you can switch, or at least choose when loading the solution. I use Sourcetree (ui for Git) separately and do my commits, etc. from there.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups