- setting up your name and email:
-
12$ git config --global user.name "John Doe"$ git config --global user.email johndoe@example.com
From https://git-scm.com/book/en/v2/Getting-Started-First-Time-Git-Setup , good url for reading
-
- bat file to automatically change directory and run git status
Create a new text file and add the code below. Then rename the file so that is a batch file. (ie. that its file extension is “.bat” instead of .txt) .
1 2 3 |
cmd.exe /k "cd C:\Users\path\to\websites\UniserverZ\www\ & git status" pause > nul |