Created
February 5, 2021 14:28
-
-
Save appwebd/6ef9ce22ebe812fd3be0021e682333ef to your computer and use it in GitHub Desktop.
[git commit and git push] Perform a git commit and git push in console bash #git #bash #github #gitlab
This file contains 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 | |
# author : Patricio Rojas Ortiz | |
# Purpose: Perform a git commit and git push in console bash | |
# Usage : In the DCL git-commit-and-git-push.sh | |
git log --oneline --format="%h %cd %s" > CHANGELOG | |
sync | |
sync | |
git commit -a -S | |
git push |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment