Git Command Utility
If we find that the system is having git installed then we will look for git folder first.
# If you are in linux then use this command to find git directory.
# It's good to have root privilege before searching for git directory.
find / -name ".git" 2>/dev/null
# In windows, You can search the git directory using below command:
# Powershell command:
Get-ChildItem -Path C:\ -Filter ".git" -Directory -Recurse -Force -ErrorAction SilentlyContinue
# CMD Command:
dir C:\ /s /a:d /b | findstr \.git
Common Git Command Cheet sheat:
I found a cheat sheet for Git software. The command on page 2 under the heading "Inspect & Compare" will be useful for searching data.
Last updated