# Toad and Git for historical code changes

**URL:** <https://forums.toadworld.com/t/toad-and-git-for-historical-code-changes/30350>\
**Category:** Toad for Oracle & DevOps Toolkit\
**Created:** [July 4, 2014, 5:11am UTC](https://forums.toadworld.com/t/toad-and-git-for-historical-code-changes/30350 "2014-07-04T05:11:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jonny1](https://avatars.discourse-cdn.com/v4/letter/j/97f17d/32.png) [@Jonny1](https://forums.toadworld.com/u/Jonny1)\
**Post date:** [July 4, 2014, 5:11am UTC](https://forums.toadworld.com/t/toad-and-git-for-historical-code-changes/30350/1 "2014-07-04T05:11:05Z")

</div>

Hi,

This is my first post. I’m new to Toad and we currently don’t have any kind of versioning in place. I have suggested we use Git so was pleased to see that you have Git built in. Currently, it’s a very small team and we do a lot of testing in our testing server (in Toad) before deploying to our live sever through Toad. The only problem here is that we can’t track how the code has changed. Much as we’re sure that the new code works and does what it’s meant to be doing we have no way to track how the code has changed over time, which would be good to help identify how the business goals changed and things like that. What I was hoping to do was basically use Git through Toad as a way to track how our SQL code has changed, as it’s a very small team it’s highly unlikely we will both be working on the very same file at the same time, in fact we all have completely separate areas of focus. So would this be possible through Toad, I was hoping for basically Toad to just push a file every time it’s altered automatically, meaning that in 6 months time someone could come in and say “Oh, this was the code, but it changed on this date due to x,y,z” kind of thing. Is that possible?

Thanks

---

<div class="post-metadata">

**Author:** ![Stephen.Beausang\_734](https://avatars.discourse-cdn.com/v4/letter/s/bc8723/32.png) [@Stephen.Beausang\_734](https://forums.toadworld.com/u/Stephen.Beausang_734)\
**Post date:** [July 5, 2014, 4:05am UTC](https://forums.toadworld.com/t/toad-and-git-for-historical-code-changes/30350/2 "2014-07-05T04:05:19Z")

</div>

Hello,

You can use git to manage your files in Toad and can view and load different versions of files from within Toad. Toad works directly with your local Git Repository,  
and adds all staged changes to Git, whenever you do a check in from Toad. So it is possible to keep a history, as you describe. Currently, Toad does not automatically sync from or push to the remote git repository. You need to do this from the command line,  
or write a script to do it.

Please check out this blog on using Git with Toad.

[http://www.toadworld.com/products/toad-for-oracle/b/weblog/archive/2014/05/20/using-git-version-control-system-in-toad.aspx](http://www.toadworld.com/products/toad-for-oracle/b/weblog/archive/2014/05/20/using-git-version-control-system-in-toad.aspx)

Stephen

**From:** Jonny1 [[mailto:bounce-Jonny1@toadworld.com](mailto:bounce-Jonny1@toadworld.com)]

**Sent:** Friday, July 04, 2014 8:12 AM

**To:** [toadoracle@toadworld.com](mailto:toadoracle@toadworld.com)

**Subject:** [Toad for Oracle - Discussion Forum] Toad and Git for historical code changes

**[Toad and Git for historical code changes](http://www.toadworld.com/products/toad-for-oracle/f/10/t/22276.aspx)**

Thread created by Jonny1

Hi,

This is my first post. I’m new to Toad and we currently don’t have any kind of versioning in place. I have suggested we use Git so was pleased to see that you have Git built in. Currently, it’s  
a very small team and we do a lot of testing in our testing server (in Toad) before deploying to our live sever through Toad. The only problem here is that we can’t track how the code has changed. Much as we’re sure that the new code works and does what it’s  
meant to be doing we have no way to track how the code has changed over time, which would be good to help identify how the business goals changed and things like that. What I was hoping to do was basically use Git through Toad as a way to track how our SQL  
code has changed, as it’s a very small team it’s highly unlikely we will both be working on the very same file at the same time, in fact we all have completely separate areas of focus. So would this be possible through Toad, I was hoping for basically Toad  
to just push a file every time it’s altered automatically, meaning that in 6 months time someone could come in and say “Oh, this was the code, but it changed on this date due to x,y,z” kind of thing. Is that possible?

Thanks

To reply, please reply-all to this email.

[Stop receiving emails](http://www.toadworld.com/products/toad-for-oracle/f/10/t/22276.aspx?subscribe=false) on this subject.

Or [  
Unsubscribe from Toad for Oracle - General](http://www.toadworld.com/products/toad-for-oracle/f/10.aspx?subscribe=false) notifications altogether.

Toad for Oracle - Discussion Forum

[Flag](http://www.toadworld.com/products/toad-for-oracle/f/10/t/22276.aspx?AbuseContentId=43a61022-4f41-40cf-97e2-3cad3c481545&AbuseContentTypeId=46448885-d0e6-4133-bbfb-f0cd7b0fd6f7&AbuseFlag=true)  
this post as spam/abuse.

![](http://gyk.r.mailjet.com/o/04j0/f144bdf4/oyl9k3xe.gif)

---

<div class="post-metadata">

**Author:** ![Jonny1](https://avatars.discourse-cdn.com/v4/letter/j/97f17d/32.png) [@Jonny1](https://forums.toadworld.com/u/Jonny1)\
**Post date:** [July 7, 2014, 11:18am UTC](https://forums.toadworld.com/t/toad-and-git-for-historical-code-changes/30350/3 "2014-07-07T11:18:17Z")

</div>

Thanks for your help Stephen I will look at implementing this.

Jonny

---

<div class="post-metadata">

**Author:** ![Samhita](https://avatars.discourse-cdn.com/v4/letter/s/59ef9b/32.png) [@Samhita](https://forums.toadworld.com/u/Samhita)\
**Post date:** [July 9, 2018, 2:44am UTC](https://forums.toadworld.com/t/toad-and-git-for-historical-code-changes/30350/4 "2018-07-09T02:44:45Z")

</div>

Hi Stephen,

The blogpost you have referred to here is for Toad Version 12. We are currently using Toad 9.6.0.27. Any suggestions on how to implement GIT for version control using this version of Toad ?

Thanks,

Samhita

---

<div class="post-metadata">

**Author:** ![jbowman](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/jbowman/32/22_2.png) [@jbowman](https://forums.toadworld.com/u/jbowman)\
**Post date:** [July 11, 2018, 8:45am UTC](https://forums.toadworld.com/t/toad-and-git-for-historical-code-changes/30350/5 "2018-07-11T08:45:36Z")

</div>

Hi Samhita,

Toad for Oracle 9.6 does not support Git as a version control provider. PushOK Software wrote an SCC interface for Git, which you might be able to use; but it would not be supported by Quest, and may not work fully. Git support in Toad was introduced with Toad 12.1; but for the latest features and support, I’d recommend getting the latest version of Toad, which is Toad 13.0.

-John
