Git integration

  • Thread starter Thread starter Captain Kernel
  • Start date Start date
C

Captain Kernel

Guest
I'd like to provide some feedback to MS on their implementation of Git and Github support in Visual Studio, where is the best place to do this?

Specifically I still see no support for a "push to" capability (or a "pull from"). This is part of a workflow we use when using forks in Github, we use SmartGit as our GUI (but developers would like to use VS more and more).

Our worklfow is that our local branches track a branch in a "principal" repo (the repo from which we all create our forks).

So when we "pull" we are pulling commits that have been merged into that repo (by pull requests submitted by the team that merge from their forks) however when we periodically want to push we do NOT want to push to the tracked branch (in fact we cannot, it is disabled) instead we want to push to our "fork" and SmartGit lets us do this because it offers a "push to" command (that lets us pick the fork from a dropdown of remotes).

VS seems to hinge all push/pull commands against the tracked branch's repo with no option to bypass this - either I'm not aware of VS supporting this or it really doesn't support it.

Ideally we should be able to define what "push" and "pull" do - then we could define "push" as pushing to the desired branch in our fork and "pull" as pulling from the desired branch in the principal (main) repo.

By the way we use these names "principal" and "fork" for remotes to avoid the unclear names "upstream" and "origin" - this is just a remote naming convention of ours, nothing more.


Thanks

Continue reading...
 
Back
Top