┌┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┐ │██████ ██ ██ ██████ ██ ██ ██████ ██████│ │██ ██ ██ ██ ██ ██ ██ ██ ██ ██│ │██████ ██ ██ ██████ ██████ ██████ ██████│ │██ ██ ██ ██ ██ ██ ██ ██ ██ │ │██ ██████ ██████ ██ ██ ██████ ██ ██│ └┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┘
Project developed in the Python programming language to automate the commits and the upload of files to the Github working repository, using Git.
For Pusher operation, it is necessary to have the hipposcraper installed.
Do the following:
- Change to the directory where you installed hipposcraper
- Clone this repository: https://github.com/RedLyon1200/pusher.git
- Switch to the pusher directory (cd pusher/)
- Running the installation file ./setup_pusher.sh
pusher <option> [files]
- In order for pusher to obtain the task data, the first thing to do is to execute the command tasker, followed by the project URL of the intranet.hbtn.io (this step should only be performed once per project).
- With the pusher command you must select one of the options listed below:
-m: to upload files that are in a modified state.
-n: to upload newly created files or files that are not within the repository.
-a: to upload all files (new and changed). - Optionally you can specify which file you want to upload, for example *.py, the default value when not specifying it is '*'
- Tell the program if you want to modify the commits or leave the default value generated by the tasker.
- Confirm whether you want to push files immediately or leave them for manual uploading with the git push command.