Skip to content

Instantly share code, notes, and snippets.

@julkwel
Created September 27, 2018 10:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save julkwel/b1440101e444bf7613cc010beb7c41f5 to your computer and use it in GitHub Desktop.
Save julkwel/b1440101e444bf7613cc010beb7c41f5 to your computer and use it in GitHub Desktop.
Push git
#!/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