I'm using git on a Mac, and I'd like to know if there's a command to open the remote repository (origin) in a browser from the terminal.
Macos – Open remote git repository from command line
bashgitmacos
bashgitmacos
I'm using git on a Mac, and I'd like to know if there's a command to open the remote repository (origin) in a browser from the terminal.
Best Answer
You can"t view the remote repository in a browser as the browser requires a webserver. What you can do though is clone the remote repository (if you haven't done so already) and then run the
git instaweb
command in the directory of the local repository, which will let you browse the history, branches, commits, diffs...