Next Git Question
-
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.
-
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.
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.
-
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.
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[^].
-
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[^].
-
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.
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.