Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
7be660bf
Commit
7be660bf
authored
12 years ago
by
Josh Matthews
Browse files
Options
Download
Email Patches
Plain Diff
Adding grt alias to the git plugin.
parent
c2ae9e09
master
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
plugins/git/git.plugin.zsh
+4
-0
plugins/git/git.plugin.zsh
with
4 additions
and
0 deletions
+4
-0
plugins/git/git.plugin.zsh
View file @
7be660bf
...
...
@@ -39,6 +39,10 @@ compdef _git gm=git-merge
alias
grh
=
'git reset HEAD'
alias
grhh
=
'git reset HEAD --hard'
# Will cd into the top of the current repository
# or submodule.
alias
grt
=
'cd $(git rev-parse --show-toplevel || echo ".")'
# Git and svn mix
alias
git-svn-dcommit-push
=
'git svn dcommit && git push github master:svntrunk'
compdef git-svn-dcommit-push
=
git
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help