This is probably close to trivial, but I can't find it. How can I see where in the repository a local copy refers to? Say, I have a workspace checked out some time ago, I want to see if it was checked out from a branch or the trunk.
You can find the list of all local git repositories by navigating from “Git > Local Repositories.” Based on the previously configured folder for the local repos, Visual Studio will change the context for the local repositories. Then, you will have all the local repos on your fingertip.
The Local Repository is the . git/ subdirectory inside the Working Directory. The Index is a conceptual place that also physically resides in the . git/ subdirectory.
You need to find the virtual host in your apache configuration and look for a <Location> section that matches your url path and look for a SVNPath or SVNParentPath config line. This will tell you the location of your subversion repository.
Use
svn info
For repository root :
Linux : svn info | grep 'Repository Root' | awk '{print $NF}'
Windows : svn info | findstr /C:"Repository Root: "
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With