Skip to content

Instantly share code, notes, and snippets.

View clxmstaab's full-sized avatar
🤠

Markus Staab clxmstaab

🤠
View GitHub Profile
@DamirPorobic
DamirPorobic / rename-branch.sh
Created April 24, 2018 12:57
Script for renaming branches
#!/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
@chunter
chunter / pageant-autoload-keys-at-startup.txt
Created June 20, 2017 10:51
Make Pageant autoload keys at startup
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.