Skip to content

Latest commit

 

History

History
50 lines (29 loc) · 1.53 KB

create-repo-codecommit.md

File metadata and controls

50 lines (29 loc) · 1.53 KB

Create Repo in CodeCommit

Step 1: Create Repo in code-commit

image

image

  • Finally: Click on "Erstellen"

image

  • Click on "URL klonen" -> HTTPS clonen

image

  • URL will be copied to clipboard

Step 2: Reconnect to aws (if you have not been there for a while = token expired)

# in the terminal 
aws sso login --sso-session my-sso

Step 3: Rewrite url and use for pushing in PyCharm

  • You must have a profile setup, in my case it is: Git_Schulung, because my profile looks like this:

image

# Put url in editor and rewrite it as follows:
# e.g.
https://git-codecommit.eu-central-1.amazonaws.com/v1/repos/git-schulung_JochenMetzger
# rewrite to: (Git_schuluung is your profile)
codecommit://Git_Schulung@git-schulung_JochenMetzger

image

  • Click on Define Remote

image

image

  • Press "OK" and Pycharm shows what to push -> now press Push