Search code examples
amazon-web-servicesgit-remoteaws-codecommit

AWS CodeCommit with git-remote-codecommit


Im using windows and im trying to use git-remote-codecommit.

steps for HTTPS Connections to AWS CodeCommit with git-remote-codecommit.

https://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-git-remote-codecommit.html

While fetching , this error shows:

git clone codecommit://MyRepositoryName

git: 'remote-codecommit' is not a git command. See 'git --help'

please help..


Solution

  • I had a similar issue. It turns out that somehow the git-remote-codecommit extension was somehow installed but broken.

    I fixed it by first

    1. uninstalling: pip3 uninstall git-remote-codecommit
    2. reinstalling: pip3 install git-remote-codecommit

    The install will check to see if Python3 is in your $PATH if not you'll need to add it.

    This fixed the problem for me.