Created
September 27, 2018 10:41
-
-
Save julkwel/b1440101e444bf7613cc010beb7c41f5 to your computer and use it in GitHub Desktop.
Push git
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
username="your username" | |
password="Your password" | |
repo="/your/directory/git" | |
echo "push project" | |
cd ${repo} | |
echo "git add . " | |
git add . | |
echo "git commit -m .... " | |
git commit -m "your commit standard name" | |
echo "push" | |
git push https://${username}:${password}@yourHostGit/repo/git | |
echo "done" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment