Git and GitHub Pushing/Pulling
JackAce
Posts: 75 New member
I am experimenting with a GitHub-based repository and I'd like to use Red Gate Source Control to manage the database updates.
Can you *only* link SQL Source Control to a working folder with Git? Can you not link it directly with the server (e.g. GitHub)? If this is true, does it mean that I need to manually perform a "git pull" before I can "Get Latest" in SSMS? Do I need to manually perform a "git push" so that others may see my changes?
Can you *only* link SQL Source Control to a working folder with Git? Can you not link it directly with the server (e.g. GitHub)? If this is true, does it mean that I need to manually perform a "git pull" before I can "Get Latest" in SSMS? Do I need to manually perform a "git push" so that others may see my changes?
Comments
The commands we run to do a commit etc. are stored in an XML file - you can click "manage config files" on the link page, and create a copy of the git.xml to edit for your own purposes... so it *may* be possible to create, say, a batch file that does a commit then a push as two steps, and call your batch file in git.xml. I don't know of anyone who's tried this; so there's no guarantee it'll work.
Longer term, we're hoping to support more systems "natively" including Mercurial, and possibly Git, so support may improve in the future.
Redgate Software
It's best to email your serial number in to support and say how many machines you couldn't deactivate- we can reset them for you.
Redgate Software