Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion aliases/git/git-aliases.nu
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ export def grset [remote: string, url: string] {
}
export alias grss = git restore --source
export alias grst = git restore --staged
export alias grt = cd (git rev-parse --show-toplevel or echo .)
export alias grt = cd (git rev-parse --show-toplevel | complete | if $in.exit_code == 0 { $in.stdout | str trim } else { '.' })
export alias gru = git reset --
export alias grup = git remote update
export alias grv = git remote --verbose
Expand Down