...
Code Block | ||
---|---|---|
| ||
$ git st M README.md |
root
Prints the top-level directory of the current repository.
Installing
Code Block | ||
---|---|---|
| ||
$ git config --global alias.root 'rev-parse --show-toplevel' |
Usage
Code Block | ||
---|---|---|
| ||
$ git root |
Example
Code Block | ||
---|---|---|
| ||
$ git root
/home/ehelin/git/github.com/openjdk/jdk |
glog
Shows the commit history as a graph in a compact format.
Installing
Code Block | ||
---|---|---|
| ||
$ git config --global alias.glog 'log --color --format='format:%C(auto)%h %C(auto)%s %C(auto)%d' --graph --all --abbrev' |
Usage
Code Block | ||
---|---|---|
| ||
$ git glog |
Example
Code Block | ||
---|---|---|
| ||
$ git glog
* 939a493bdd Merge (HEAD -> fibers, origin/fibers, origin/HEAD)
|\
| * 6a9a93bc32 Minor improvements
* | c5756b560d Merge
|\|
| * bcdbc8622a 8240914: java_lang_Throwable::fill_in_stack_trace should use Handler for "cont"
| * 0965d252c1 8241331: Implement basic support of test execution using vthread wrapper
| * f0a7aab1f6 Replace fibers by virtual threads in the test summary
* | 55a94cafe9 Merge
|\|
| * f5a2ff5c2c JFR Thread Sleep event for virtual threads
* | 15d5a97ec0 Merge
|\|
| * 28709d479c Merge
| |\
| | * af28093ed8 Merge (origin/master, master)
| | |\
| | | * 9fe762d3c5 8241162: ProblemList serviceability/sa/TestHeapDumpForInvokeDynamic.java on OSX
| | * | ea367322f2 8241030: rename HtmlTag to TagName
| | |/
| | * 34b9ac2287 8236285: [JVMCI] improve TranslatedException traces |
glog
Shows the commit history as a graph in a compact format.
Installing
Code Block | ||
---|---|---|
| ||
$ git config --global alias.glog 'log --color --format='format:%C(auto)%h %C(auto)%s %C(auto)%d' --graph --all --abbrev' |
Usage
Code Block | ||
---|---|---|
| ||
$ git glog |
Example
Code Block | ||
---|---|---|
| ||
$ git glog * 939a493bdd Merge (HEAD -> fibers, origin/fibers, origin/HEAD) |\ | * 6a9a93bc32 Minor improvements * | c5756b560d Merge |\| | * bcdbc8622a 8240914: java_lang_Throwable::fill_in_stack_trace should use Handler for "cont" | * 0965d252c1 8241331: Implement basic support of test execution using vthread wrapper | * f0a7aab1f6 Replace fibers by virtual threads in the test summary * | 55a94cafe9 Merge |\| | * f5a2ff5c2c JFR Thread Sleep event for virtual threads * | 15d5a97ec0 Merge |\| | * 28709d479c Merge | |\ | | * af28093ed8 Merge (origin/master, master) | | |\ | | | * 9fe762d3c5 8241162: ProblemList serviceability/sa/TestHeapDumpForInvokeDynamic.java on OSX | | * | ea367322f2 8241030: rename HtmlTag to TagName | | |/ | | * 34b9ac2287 8236285: [JVMCI] improve TranslatedException traces |
...
Overview
Content Tools
ThemeBuilder