Branching w/git
mja
Posts: 3
Hi,
We have been experimenting with how SQL Source Control handles branching in Git. It seems it's possible to link a database to a local repository, and then (from the command line, for example) checkout whatever branch we'd like, without relinking at all. This makes sense, because in Git the working directory is always in the same filesystem location, regardless of which branch you are working on. SQL Source Control seems to handle this just fine.
However, it's very difficult to tell which branch we'd be committing to. Is there a place in the application where we can see this info? Or, perhaps even allow us to check out a different branch?
Thanks!
-m
We have been experimenting with how SQL Source Control handles branching in Git. It seems it's possible to link a database to a local repository, and then (from the command line, for example) checkout whatever branch we'd like, without relinking at all. This makes sense, because in Git the working directory is always in the same filesystem location, regardless of which branch you are working on. SQL Source Control seems to handle this just fine.
However, it's very difficult to tell which branch we'd be committing to. Is there a place in the application where we can see this info? Or, perhaps even allow us to check out a different branch?
Thanks!
-m
Comments
I'm afraid that capability doesn't exist within SQL Source Control yet.
If you'd like to suggest we add it, it'd be great to make that request on our uservoice forum.
In particular, there is already a request to "Change remote branch to pull and push from with Git", which you may like to vote on.
Redgate Software