Advertisement
gdhami

Commit & Push Git

Oct 13th, 2013
317
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.36 KB | None | 0 0
  1. @echo off
  2. cd %1
  3. %~d1
  4.  
  5. : You can also call git.exe instead of Tortoise Git:
  6. : "C:\Program Files (x86)\Git\bin\git.exe" commit -a
  7.  
  8. "C:\Program Files\TortoiseGit\bin\TortoiseGitProc.exe" /command:commit
  9. "C:\Program Files\TortoiseGit\bin\TortoiseGitProc.exe" /command:push
  10.  
  11. : Just to debug / give you 5 seconds to read output:
  12. : ping 1.1.1.1 -n 1 -w 5000 > nul
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement