Skip to content

Instantly share code, notes, and snippets.

@Axhat
Last active April 21, 2024 18:42
Show Gist options
  • Save Axhat/7970cbce72f951037ddb106956a25883 to your computer and use it in GitHub Desktop.
Save Axhat/7970cbce72f951037ddb106956a25883 to your computer and use it in GitHub Desktop.
echo "Startup git bash"
path_to_key = "" # Enter path of the key to add
path_to_repo = "" # Enter path of repo to cd into
cd "$path_to_repo"
eval $(ssh-agent -s) # Starting up the ssh-agent
ssh-add "$path_to_key"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment