Skip to content

Start a working area

DBgit edited this page Jul 10, 2019 · 15 revisions

clone

Clone a repository into a new directory

usage: dbgit clone [link] <remote_name> [-h] [-v]
Example:
dbgit clone <link>
-h Shows this help
-v Outputs full log of command execution

init

Create an empty Git repository or reinitialize an existing one

usage: dbgit init [-h] [-v]
Example:
dbgit init
-h Shows this help
-v Outputs full log of command execution

link

Establishes connection with database

usage: dbgit link <connection_string> [-h] [-v]
Example:
dbgit link jdbc:oracle:thin:@<SERVER_NAME>:<PORT>:<SID> user=<USER> password=<PASSWORD>
-h Shows this help
-v Outputs full log of command execution

It binds dbgit with a database.

This command creates .dbignore file that makes dbgit ignore all db objects except of user's scheme by default. You can reconfig .dbignore at any time, see Features for details

synonym

Specifies synonym for db scheme

Will create synonym for database schemes, so you can use simple names if your db scheme has long or hard to writing name.

Example:

dbgit synonym SYNONYM_NAME ACTUAL_SCHEME_NAME

remote

let you bind your local repository with remote repository

Clone this wiki locally