Versions Compared

Key

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

...

  1. Select the Files Tab. Context click on Filesystem
  2. Select Create Git Repository
  3. Browse to your local directory structure.
  4. Check Mount Git Repository Directory to have it automatically mounted in the Files browser. If you do not check this you must manually mount the directory.
  5. An empty GIT repository will be created in the chosen folder and it will appear in the Files browser with Version Control Status indicators
Image Removed

Image Added

Image Removed

Image Added

Right-click
Create Git Repository
Select a directory

...

  1. Select the Files Tab. Context click on Filesystem
  2. Select Mount Directory
  3. Choose the folder that has already been associated with a Git repository
Image Removed

Image Added

Mount a Directory
Step 2: Configure the Directory with GIT Version Control
  1. Right Click the Mounted Directory in Step 1
  2. Select Version Control > Git > Configure
  3. Click OK and Version Control indicators appear
Image Removed

Image Added

Image Removed

Image Added

Image Removed

Image Added

Right-click Mounted
Directory Configure
Repository Details
Displayed
Version Control
Green Indicators

...

  1. Create new text or SQL files or copy the files you require to be in version control to the Git Repository created using Aqua Data Studio
  2. Multi-select the files, right-click and select Version Control > Add. If you see a '+' sign before the files, these are added to version control
  3. To Commit the files, right-click on the directory and select Commit.
Image Removed

Image Added

Image Removed

Image Added

Image Removed

Image Added

Image Removed

Image Added

Multiselect New Files
Version Control Add
Multiselect and
Commit
Version Control
Commit Dialog
Version Control
Commit Success

...

  1. Select the Files Tab. Context click on Filesystem
  2. Select Version Control > Git > Clone Repository
  3. Enter General tab, select Git and enter the Repository URI - https://github.com/renatolouro/Simplate.git
  4. Select a destination folder in your local system. Browse and select the checkout directory
  5. Click OK and Aqua Data Studio displays the status of the received files. 
Image Removed

Image Added

Image Removed

Image Added

Git Remote
Checkout
Git Remote Checkout
Success

...

  1. Under Filesystem, select the cloned directory. Right-click and select Pull
  2. Once all the files are updated, the "up-to-date" message displays
Image Removed

Image Added

Git Pull from
Remote Repository

...

  1. Under Filesystem, select the directory that you want changes to be updated. Right-click and select Version Control > Push
  2. Select Source Branch
  3. Select the Destination Repository from the drop-down.
  4. If you want to update another location, which is not configured with your local GIT repository, select Arbitrary Location and specify the URI. For e.g. https://github.com/yourproject/git_repo_name.git. Note that you need the authentication to Push to the location or you are a member of the project
  5. You can include options to Force overwrite existing branch, use thin pack, and include tags
Image Removed

Image Added

Image Removed

Image Added

Git Push to
Remote Repository
Git Pushed to
Remote Host

...

  1. Under Filesystem, select your git repository. Right-click and select Version Control > Add Remote
  2. Enter a name 
  3. Enter the URI
  4. Click Add
Image Removed

Image Added

Git Add Remote Host

Now next time you try to "Push" this remote server will be available under the Destination Repository in the dropdown. See step 2 in Push your changes to remote Git Repository in Github, google projects, heroku, gitorious, etc

...

  1. Under Filesystem, select your git repository. Right-click and select Branch...
  2. Now to create a branch, enter a new branch name
  3. Choose from the dropdown where it should start from
  4. Click OK 
Image Removed

Image Added

Git Create Branch

A new branch is created and you are now switched to the new branch

...

  1. Under Filesystem, select your git repository. Right-click and select Version Control > Switch/Checkout
  2. The Branch Name field will be populated with your current branch
  3. Select the dropdown and the list of available branches will be displayed
  4. Choose the branch you want to change to
  5. Click OK 
Image Removed

Image Added

Git Switch Branch

You are now switched to the selected branch.

...

  1. Under Filesystem, select your git repository. Right-click and select Version Control > Delete Branch
  2. The Branch Name field will be populated with your current branch
  3. Select the dropdown and the list of available branches will be displayed
  4. Choose the branch you want to delete
  5. Click OK 
Image Removed

Image Added

Git Delete Branch

Merge changes from a selected commit to your current branch using Aqua Data Studio

...

  1. Under Filesystem, select your git repository. Right-click and select Version Control > Merge
  2. The list of available Branches and Tags displays
  3. Select the branch you want to merge. Master in this case.
  4. Click OK 
Image Removed

Image Added

Git Merge

A merge result "Merged" will notify you of the operation

...

  1. Under Filesystem, select your git repository. Right-click and select Version Control > Tag
  2. If you are going to create a tag at the Head version, select the radio button Head, enter a message and click OK
  3. If you are going to create a tag for a particular revision, select the radio button revision, Click History and navigate to the commit
  4. Choose the commit that you want to Tag
  5. Click OK and now you have successfully tagged a revision
Image Removed

Image Added

Git Tag

See in the attached picture how I have tagged a commit to version v1.0.0

...

  1. In the Files Browser, select your git repository. Right-click and select Git Client
  2. In the upper left dropdown, navigate through the list of Tags and Branches
  3. Once you have found the branch that contains the commit, select the commit you want to cherry-pick. Right-click and select Cherry Pick This Commit
  4. Close the dialog and you can see that you have successfully cherry-picked and committed the new change to your branch
Image Removed

Image Added

Git Cherrypick

Rebase

It is possible to perform a Rebase operation by right-clicking on a mount associated with Git and selecting Version Control > Rebase...

Once you select the Rebase context menu, a dialog will appear allowing you to perform your Rebase with options for selecting specific

  • Branch
  • Tag
  • Revision
Image Removed

Image Added

Image Removed

Image Added

Git Rebase MenuGit Rebase Dialog

...

  1. The upper left pane shows the series of commits to this repository, with the most recent on top
  2. There is a local branch, named "master", it points to the most recent commit
  3. If you scroll towards the bottom of the list, you can see that there are several commits so far
  4. You can view the comments for each commit under the header description 
  5. Select a commit and right-click. Now select Show Changes and you can see the list of files impacted for this particular commit.
  6. The commit SHA (unique identifier, similar to subversion revision number) of the second commit is displayed
  7. The lower panel shows the commit details, including the full Diff with splines to show line differences.
Image Removed

Image Added

Image Removed

Image Added

Git HistoryGit History
Show Changes 

...