I learned how to download a Git repository without a history (to save disk space and Internet traffic). I created file git-no-history.bat
with this content:
git clone --depth 1 %1
Now I need to create files git-check.bat
(check if my version is the last one) and git-update.bat
(get to the last version). What should I write here?
If possible, also describe how to do these three operations in TortoiseGit.
No Linux Bash please; I have zero experience with it.