git config --get remote.origin.url
If you require full output or referential integrity is intact:
git remote show origin
When using
git clone (from GitHub, or any source repository for that matter) the default name for the source of the clone is "origin". Using git remote show will display the information about this remote name. The first few lines should show:C:\Users\jaredpar\VsVim> git remote show origin * remote origin Fetch URL: git@github.com:jaredpar/VsVim.git Push URL: git@github.com:jaredpar/VsVim.git HEAD branch: master Remote branches:
If you want to use the value in the script, you would use the first command listed in this answer.
Hello, Iᡉm Dhananjaya Naidu Reddi, a passionate Java Developer based in the vibrant city of Bangalore, India. Like many of you visiting, I have a deep appreciation for Java and the art of software development. I have extensive experience as a Java/J2EE Full Stack developer, proficient in a wide range of technology frameworks and cloud technologies.
0 comments:
Post a Comment