git reset --hard HEAD
compare 2 files with Visual Studio
// open cmd
<<<path to Visual Studio\Common7\IDE>>>devenv /diff file1 file2
Or just create a batch file. Example:
@echo off
echo Drag and drop the first file onto this window. Then press [ENTER]
set /p file1=
echo Drag and drop the second file onto this window. Then press [ENTER]
set /p file2=
"C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe" /diff %file1% %file2%
Initial git push via HTTPS
git init
git remote add origin https://<<<repo>>>.git
git add .
git commit -m "some comments"
git push -u origin master