Your First Git – Tips

 

  1. setting up your name and email:
  2.  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) .

cmd.exe /k "cd C:\Users\path\to\websites\UniserverZ\www\ & git status"

pause > nul