Skip to content

Grow, mark and tweak your common history

DBgit edited this page Jul 10, 2019 · 4 revisions

valid

Checks if dbgit data files are valid

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

checkout

Switch branches or restore working tree files

usage: dbgit checkout <branch> <commit> [-b] [-h] [-r] [-v]
Example:
dbgit checkout master
-b create and checkout a new branch
-h Shows this help
-r Updates database
-v Outputs full log of command execution

commit

Makes git commit

usage: dbgit commit <pathspec> [-a] [-h] [-m <arg>] [-v]
Examples:
dbgit commit -m <Message>
dbgit commit -a -m <Message>
dbgit commit <file_name> -m <Message>
-a dumps db changes to the dbgit repository and adds them to the git index
-h Shows this help
-m adds message to commit. You must add message as parameter
-v Outputs full log of command execution

merge

Join two or more development histories together

usage: dbgit merge [<commit>...] [-h] [-v]
Example:
dbgit merge master
-h Shows this help
-v Outputs full log of command execution

Clone this wiki locally