-
Clone the git repo.
-
Copy the deploy file to your /usr/local/
sudo cp deploy /usr/local/ -
Open up the “.bashrc” file (it is in your Home directory, but is hidden by default) in your favorite text editor, like gedit, nano or vi
vim ~/.bashrc -
Go to the very end of the file and add:
export PATH="/usr/local/deploy:$PATH" -
To register the changes, save the file, exit the text editor and then type in your terminal:
source ~/.bashrc -
Type
deploy.shto run the script in your Terminal and it will prompt you to add a commit message and push to your github.
AUTHOR: Okechukwu Onwuchekwa. EMAIL: onwuchekwaokechukwu57@gmail.com