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
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
Version: GnuPG v2 | |
mQENBFpBPdUBCAD7vYRK+baKir8pQLpSLRte4O4i2FPfWXS1wIjpNpxpCaZnAdUl | |
CQhaPiHKv5PidoekKq0UBbgWHMB0l+qKGgiVSAxg9bFN1YJ76SN3XNB+PglpDlcQ | |
pARhI/bvB9IVxPY4zSotmADs2+jRtbMvld/n4zXtF+TFAz5CrDQJsx+z3ioGxaN7 | |
2j8Hd7Bon6TxLm6+Mha+HQt/wt7gbipadfbREl2wRM92sCXV+xb2XhWW87QiSYjf | |
1B3ECcD9t1ytgpY3L48cDOR+IEg0Yln9FcyDAQMxgw7cm4zxc9Lt+uABM1AImvpB | |
pHk9efvK33RLLEEwki5gKbdfcI6xrCEj3GOBABEBAAG0HUtzbmlwIDxkYW1pci5w | |
b3JvYmljQGdteC5jb20+iQE5BBMBAgAjBQJaQT3VAhsDBwsJCAcDAgEGFQgCCQoL |
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
#!/usr/bin/bash | |
GIT_CMD="$(which git)" | |
GIT_BRANCH="$GIT_CMD branch" | |
GIT_PUSH_ORIGIN="$GIT_CMD push origin" | |
GIT_FETCH_ORIGIN="$GIT_CMD fetch origin" | |
GIT_REMOTE_PRUNE="$GIT_CMD remote prune origin" | |
GIT_CHECK_BRANCH="$GIT_CMD show-ref refs/heads" # append /branch_name | |
# Check if the user has provided input |
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
[core] | |
autocrlf = true | |
[merge] | |
ff = false | |
[alias] | |
co = checkout | |
ci = commit | |
st = status | |
br = branch | |
hist = log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short |