New versions of Visual Studio Team Explorer has built in support for Git.
I want to know if there is an option to view the Git commands executed while using the Team explorer for Git actions like Commit and Push.
Also would be better to have an option to view the other commands executed by Team Explorer like fetching status.
Are those features available with the current Visual Studio?
Git has a number of traces embedded which you can turn on by use git's tracing environment variables. To enable basic general logging:
setx GIT_TRACE %UserProfile%\git.log
To disable logging:
setx GIT_TRACE ""
Should you want to do other types of git tracing, you can also turn on other traces at the command line and point them at the same log file:
Run setx GIT_TRACE_CURL %UserProfile%\git.log
Run setx GCM_TRACE %UserProfile%\git.log
etc
See more environment variable examples at:
Git Internals - Environment Variables
and
How can I debug git/git-shell related problems?
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