This is a great question. I would be very interested in hearing the response of users to this, in particular as to proposed best practices from within the
We deliberately designed Git in Toad to work in a local copy of the repository, and kept it very simple, until we got a better understanding of how Toad developers
are using Git with Toad, or more accurately need to use Git with Toad. In practice, this is how Toad also works with centralized VCS systems. The repository is set up outside of Toad. A local workspace is set up. Then Toad interacts with the remote repository.
As currently designed work flow looks something like this:
Outside of Toad
Clone/Init - create or get a local copy of repository.
Pull - Fetch merges/changes from remote repository.
Edit - local copy of objects
Stage - Add local changes to staging area. In Git perform ‘Add’ command.
Commit local changes.
Outside of Toad
Push – Push local changes/merges to remote repository.
While I understand where you are coming from, I do not think that Toad should make a pull/push from the central repository before each commit. I think this would mean that Git is behaving like
a centralized VCS system. I think we should investigate the value of adding Pull/Push capabilities directly from Toad. This is where a better understanding of practical customer work flows, would be very helpful. Maybe you could add this to the Idea Pond?
From: zbignev [mailto:firstname.lastname@example.org]
Sent: Wednesday, April 30, 2014 11:12 AM
Subject: [Toad for Oracle - Discussion Forum] Best practices for working with Git in Toad For Oracle?
Best practices for working with Git in Toad For Oracle?
Thread created by zbignev
As mentioned in another post, I am setting up Git in Toad.
This brings me to the question: What are best practices for working with Git in Toad?
We have several developers working on the same database. I know that I could set up Code Collections for different database objects. But which repositories should each developer commit to?
It seems that it is only possible to choose a local git repository, so I guess that each developer should just commit to his/her local repository. But how do I ensure that all developers’ repositories are in sync? Would it be possible to make Toad pull/push
from/to a central directory before/after each commit?
Or are there other best practices we should follow?
To reply, please reply-all to this email.
Stop receiving emails on this subject.
Unsubscribe from Toad for Oracle - General notifications altogether.
Toad for Oracle - Discussion Forum
this post as spam/abuse.