Last active
August 2, 2022 09:30
-
-
Save mrtrkmn/b97044dcbfd6c9fc592f3ceb744b4c76 to your computer and use it in GitHub Desktop.
Handy Linux Command(s)
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 | |
sudo kill -9 $(pgrep code) # kills code process through terminal | |
## START SSH-AGENT FOR PASSWORD PROTECTED PRIVATE KEYS | |
## TO BE ACCEPTED WITHOUT TYPING PASS AT EACH TIME | |
eval "$(ssh-agent -s)" | |
ssh-add ~/.ssh/id_rsa | |
#################### | |
# set git committer date to author date | |
git filter-branch --env-filter 'export GIT_COMMITTER_DATE="$GIT_AUTHOR_DATE"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment