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
#!/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 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
To make Pageant automatically run and load keys at startup: | |
- Find the location of pageant.exe | |
- Windows key + R to open the 'run' dialog box | |
- Type: 'shell:startup' in the dialog box | |
- Create a shortcut to the pageant.exe and put into this startup folder. |