Skip to content

Instantly share code, notes, and snippets.

@criedel
Last active April 26, 2018 20:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save criedel/29844612022f799f401880dc89a1e2a6 to your computer and use it in GitHub Desktop.
Save criedel/29844612022f799f401880dc89a1e2a6 to your computer and use it in GitHub Desktop.
Make AWS CodeCommit work with git over https
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.cupsoftware.CleanUpCodeCommit</string>
<key>ProgramArguments</key>
<array>
<string>security delete-internet-password -s "git-codecommit.eu-central-1.amazonaws.com"</string>
</array>
<key>StartInterval</key>
<integer>30</integer>
</dict>
</plist>
@criedel
Copy link
Author

criedel commented Apr 26, 2018

  1. Copy the file to ~/Library/LaunchAgents/com.cupsoftware.CleanUpCodeCommit.plist
  2. Launch the daemon: launchctl load -w ~/Library/LaunchAgents/com.cupsoftware.CleanUpCodeCommit.plist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment