Ask Your Question

Git show remote

asked 2023-04-11 22:36:01 +0000

qstack gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2023-04-11 22:36:19 +0000

qstack gravatar image

To show the remote origin of a Git repository, you can use the following command:

git remote show origin

This will display information about the remote repository that the "origin" alias points to, including the URL of the remote repository, the branches that are tracked, and the local branches that are configured to push to the remote repository.

If you have multiple remote repositories, you can replace "origin" with the name of the remote you want to show information about.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer

Question Tools

1 follower


Asked: 2023-04-11 22:36:01 +0000

Seen: 14 times

Last updated: Apr 11 '23