Skip to content

Grow, mark and tweak your common history

alex-suv edited this page Jul 24, 2019 · 4 revisions

valid

Check if DBGit data files are valid

usage: dbgit valid [-h] [-v]
Example:
dbgit valid -v
-h Show this help
-v Output 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 Show this help
-r Update database
-v Output full log of command execution

commit

Make 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 Dump db changes to the dbgit repository and adds them to the git index
-h Show this help
-m Add message to commit. You must add message as parameter
-v Output full log of command execution

merge

Join two or more development histories together

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