Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Anchor
_Toc356829642
_Toc356829642
Anchor
_Toc492900242
_Toc492900242
Share the Project with the Git Repository

  1. Right-click on a project, then select Team > Share Project.



  2. Select the Git option, then click Next.



  3. Configure Repository: Click Create, enter the directory path and name for the local repository, then click Finish.

...

Anchor
_Toc356829643
_Toc356829643
Anchor
_Toc492900243
_Toc492900243
Configure the Git Ignore File

  1. Ctrl-right-click on the project folders to ignore, then select Team > Ignore. 



    You can then edit your .gitignore file to look like the following. The file will be located in your Datical DB project working directory.

    Code Block
    titleFiles to ignore
    Logs/
    Reports/
    Snapshots/
    Profiles/
    Resources/sql/*.sql.tmp
    .auditdb/
    /.classpath
    /.metadata
    /.reporttemplates
    /daticaldb.properties
    /daticaldb*.log
    *.zip 
    


  2. Commit your changes. Ctrl-right-click the folders, then select Team > Commit. Be sure to select all the necessary files to commit.



     

Anchor
_Toc356829644
_Toc356829644
Anchor
_Toc492900244
_Toc492900244
Add Remote Git Repository


Now that the project is synchronized with a local Git repository, you need to configure the repository to point to a remote Git repository.

  1. Click Open Perspective, then select Other. 



  2. Choose the Git Repository Exploring option and click OK. Then expand your local Git repository, right-click on the Remotes option, and select Create Remote. 



  3. Choose a name for your remote and click OK. Click Change button to add the URI link to your remote Git repository. Fill out the necessary credentials, then click Finish. 



  4. Click Advanced to fill out the push specifications. In this example the Add All Branches Spec button was selected but you can select exactly what you want to push to the remote Git repository as needed. Click Finish when done selecting options.

     

  5. You can use the Dry Run button to test pushing to the remote Git repository if you wish, otherwise click Save. Be sure to review the remote options and that you configure both the Push and Fetch options appropriately.

Push to the Remote Repository

  1. Return to Datical DB and refresh your workspace.
  2. Push your local repository to the upstream respository. 





  3. Verify your changes in the remote repository.