Shell/Bash: check git url Example

By

Shell/Bash Example: This is the "check git url" Example. compiled from many sources on the internet by SimpleTutorials.org

get git remote url

 git config --get remote.origin.url

check git url

# Check existing git url:
git remote -v

show remote git

# If you require full output and you are on a network that can reach the remote repo where the origin resides 
git remote show origin

how to check git repository link

git config --get remote.origin.url

show remote git

# when you are not connected to the network, you can use this
git config --get remote.origin.url

check git url

without network
git config --get remote.origin.url

with network (detailed)
git remote show origin


* Summary: This "check git url" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others