diff --git a/git.vim b/git.vim index 3183168..9de8379 100644 --- a/git.vim +++ b/git.vim @@ -198,6 +198,7 @@ command! Uncommited try \| echo 'Not a git repo!' \| endtry command! GitRoot call cd_git_root('.') +command! GitOrig exec 'e '.b:git_original_file command! ShowGitRoot try \| echo gitroot() \| catch | echo 'Not a git repository'