@echo off :loop if "%~1"=="" goto :end git add "%~1" shift goto loop :end git status