Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
srujandeshpande authored Apr 20, 2020
1 parent b82b38d commit 44c09a1
Showing 1 changed file with 40 additions and 2 deletions.
42 changes: 40 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,40 @@
# auto-pusher
Automatically compiles and pushes code to github
# Git Auto Pusher
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!

## How to Use

### Step 1: Download
Download the zip containing all the files from the github repository

### Step 2: Make sure you have git installed and on your PATH
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.

### Step 3: Copy the file
Unzip the download from earlier and locate the respective file for your terminal choice.
#### Shell or Bash
For Shell or Bash, copy the file ```bash-git-file.sh```
#### Powershell
For Powershell, copy the file ```ps-git-file.ps1```
#### Command Prompt
For Command Prompt, copy the file ```cmd-git-file.bat```

### Step 4: Paste the file in your directory
Paste the copied file in your local repository

### Step 5: Run
Navigate to your repository in a terminal window and run Git Auto Pusher with the following command
#### Shell or Bash
For Shell or Bash, use the command ```./bash-git-file.sh```
#### Powershell
For Powershell, use the command ```./ps-git-file.ps1```
Note that to use this in Powershell, you may have change settings for runnings scripts.
#### Command Prompt
For Command Prompt, use the command ```cmd-git-file.bat```

### Step 6: Enter the file name
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.

###### Made by Srujan Deshpande

0 comments on commit 44c09a1

Please sign in to comment.