Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Commit

Permalink
Commit AUTOMATICO feito pelo GitSync [Ferramenta por: PatoFlamejanteTV]
Browse files Browse the repository at this point in the history
SOBRE: GitSync e uma ferramenta cujo intuito e 'sincronizar' coisas de um repositorio noa-local para meu computador.	GitSync Info: Version 0.0.5, , DATE: 1651.
  • Loading branch information
PatoFlamejanteTV committed Aug 25, 2024
1 parent 7e07a2d commit 66b73a3
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions gitsync.bat
Original file line number Diff line number Diff line change
@@ -1,25 +1,28 @@
@echo off
setlocal enableextensions
:: GitSync, by PatoFlamejanteTV
:: ----------------------------

set VERSION=0.0.5
set delay=10
set commitmsg=Commit AUTOMATICO feito pelo GitSync [Ferramenta por: PatoFlamejanteTV]
set descmsg=SOBRE: GitSync e uma ferramenta criada por mim, que permite enviar e receber alteracoes de um repositorio nao-local... \n**INFORMACOES: **Delay: %delay%
set gsabout=SOBRE: GitSync e uma ferramenta cujo intuito e 'sincronizar' coisas de um repositorio noa-local para meu computador.
set info=%gsabout% GitSync Info: Version %VERSION%,


TITLE [GitSync %VERSION%] CMSG: %commitmsg% DELAY: %delay% DESC: %descmsg%
echo GitSync current configs:
echo.
echo DELAY: %delay%
echo commitmsg: %commitmsg%
echo DELAY: %delay% / 2

echo ------------------------

:sync
For /f "tokens=1-2 delims=/:" %%a in ("%TIME%") do (set mytime=%%a%%b)
git pull
git add *
git push
git commit -m "%commitmsg%" -m "%descmsg%"
git commit -m "%commitmsg%" -m "%info%, DATE: %mytime%."
timeout %delay%
cls
goto sync

0 comments on commit 66b73a3

Please sign in to comment.