mirror of
https://github.com/Lissy93/dotfiles.git
synced 2025-06-28 04:51:21 +02:00
Adds shortcut to jump to git repo base
This commit is contained in:
parent
8ca0dc1e30
commit
1e06e9163c
@ -61,6 +61,9 @@ function gplfs() {
|
||||
git lfs push origin "$(git_current_branch)" --all
|
||||
}
|
||||
|
||||
# Navigate back to project root (where .git is)
|
||||
alias gx='cd $(git rev-parse --show-toplevel)'
|
||||
|
||||
# Shorthand clone (e.g. $ clone lissy93/dotfiles)
|
||||
function clone {
|
||||
default_service='github.com' # Used if full URL isn't specified
|
||||
|
Loading…
x
Reference in New Issue
Block a user