Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Discussion options

You must be logged in to vote

That'll do it.

I have no idea where you got that alias from but git rev-parse --show-toplevel is used to point to the root of a git directory so if you aren't in one you'll get:

fatal: not a git repository (or any of the parent directories): .git

You can:

unalias gh

And then gh should use the GitHub CLI correctly, but big picture I guess you'll need to figure out why it exists.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@tfmm
Comment options

@williammartin
Comment options

@tfmm
Comment options

@williammartin
Comment options

Answer selected by tfmm
@tfmm
Comment options

@tfmm
Comment options

@williammartin
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants