Git: Add gct, gcf and rework gcl.
This commit is contained in:
parent
6dcffac86f
commit
1e4d09af82
|
@ -61,9 +61,19 @@
|
|||
git commit -m "''${@}"
|
||||
}
|
||||
|
||||
# Git clone (lazy!).
|
||||
# Git clone with tree filter.
|
||||
function gct() {
|
||||
git clone --filter tree:0 ''${@}
|
||||
}
|
||||
|
||||
# Git clone full repo.
|
||||
function gcf() {
|
||||
git clone ''${@}
|
||||
}
|
||||
|
||||
# Git clone latest commit only.
|
||||
function gcl() {
|
||||
git clone --filter tree:0 "''${@}"
|
||||
git clone --depth=1 --single-branch ''${@}
|
||||
}
|
||||
|
||||
# Git signed commit.
|
||||
|
|
Loading…
Reference in a new issue