qruise kb log
Show KB commit log.
Syntax¶
Description¶
The qruise kb log
command displays the list of commits, including both schema and data commits. The commits are sorted in reverse-chronological order, i.e. from newest to oldest.
Options¶
Option |
Description |
---|---|
|
Branch name. If not provided, the current branch will be used. |
|
Name of the remote. |
|
If specified, the initial commit will be included in the log. |
|
Limit the number of commits displayed. Default: 5 |
|
Qruise KB profile name. |
|
Specify path to the Qruise profiles file. |
|
Override database name. |
|
Override organization name. |
|
Show a help message and exit. |
Examples¶
Listing commits on the current branch¶
Running the qruise kb log
command without any arguments shows the list of all commits on the branch:
$ qruise kb log
commit hwjuo1p1ujy867ckgf9hs00nlci8wfz
Author: paul
Date: 2025-02-11, 21:03:32
Updated schema: added new measurement classes
commit t1yaqfme6y3d26mtaxejjhprnxp9da9
Author: paul
Date: 2025-01-21, 15:08:47
RB experiments
commit gggzxysrse8ybh2aapra7dhzst4kehr
Author: jane
Date: 2025-01-17, 10:57:42
New calibration procedure
commit 6baxf2oivddxwd31rxqs0whybvadrxr
Author: emily
Date: 2025-01-17, 09:54:37
Merge batch-2025-01-17_08-51-10
commit cjfpmjpr68zzw806bva88s53xaj27ep
Author: oscar
Date: 2025-01-16, 16:35:10
Updated schema
By default, the list is limited to just 5 entries to reduce visual clutter. You can change the number of entries by passing the --limit
parameter:
Furthermore, the list will not contain the initial system commit. If you want to include it in the list, pass the --include-initial-commit
(or -i
) flag:
Initial commit and commit list length limit
Using the --include-initial-commit
flag might cause the length of the commit list to surpass the limit shown in the console window. In this case, simply pass a bigger value to the --limit
length.
Listing commits on a selected branch¶
It's possible to view the commit history of a branch different from the one you're currently on.
Assume that you have the following branches present in the knowledge base:
As you can see, the current branch is main
. Showing the history of branch_1
is as simple as running the following: