Git Auto Pusher is the ultimate tool that you never knew you needed. It automatically compiles and pushes your code using git every time you make a change.
Never miss a compile ever again!
- Commit whenever a file is changes
- Commit after a duration of time
Download the zip containing all the files from the github repository
Open your terminal of choice and type
git --version
If you see a version number, you're good! If you get an error, check that you have installed git and it is added to your PATH variables.
Unzip the download from earlier and locate the respective file for your terminal choice.
For Shell or Bash, copy the file bash-git-file.sh
For Powershell, copy the file ps-git-file.ps1
For Command Prompt, copy the file cmd-git-file.bat
Paste the copied file in your local repository
Navigate to your repository in a terminal window and run Git Auto Pusher with the following command
For Shell or Bash, use the command ./bash-git-file.sh
For Powershell, use the command ./ps-git-file.ps1
Note that to use this in Powershell, you may have change settings for runnings scripts.
For Command Prompt, use the command cmd-git-file.bat
Once the script starts, you will be asked for a file name. This is the file that Git Auto Pusher will keep track of and check for changes. Any changes in this file will trigger adding of all the files in the repo and a commit and push.
Download the zip containing all the files from the github repository
Open your terminal of choice and type
git --version
If you see a version number, you're good! If you get an error, check that you have installed git and it is added to your PATH variables.
Unzip the download from earlier and locate the respective file for your terminal choice.
For Shell or Bash, copy the file time-based/bash-increment-git.sh
Paste the copied file in your local repository
Navigate to your repository in a terminal window and run Git Auto Pusher with the following command
For Shell or Bash, use the command ./bash-increment-git.sh
Once the script starts, you will be asked for a duration in seconds. Git Auto Pusher will attempt to commit and push after every duration interval.