Skip to content
This repository has been archived by the owner on Nov 3, 2020. It is now read-only.

Fix git address in example pre-commit yaml #7

Merged
merged 1 commit into from Oct 22, 2014

Conversation

guykisel
Copy link
Contributor

The git@ syntax requires an SSH key with permissions to the repo.

I was getting this error using the example:

$ pre-commit autoupdate
Updating git://github.com/pre-commit/pre-commit-hooks...already up to date.
Updating git@github.com:FalconSocial/pre-commit-python-sorter.git...An unexpected error has occurred: CalledProcessError: Command: (u'git', u'clone', u'--no-checkout', 'git@github.com:FalconSocial/pre-commit-python-sorter.git', u'/home/sdet/.pre-commit/repom4RjDu')
Return code: 128
Expected return code: 0
Output: (u"Cloning into '/home/sdet/.pre-commit/repom4RjDu'...\n", u'Permission denied (publickey).\r\nfatal: The remote end hung up unexpectedly\n')

After this change:

$ pre-commit autoupdate
Updating git://github.com/pre-commit/pre-commit-hooks...already up to date.
Updating git://github.com/FalconSocial/pre-commit-python-sorter...updating 1.0.1 -> 31865d04ebd9961fb5fd4fb57ec4016c1db0bbe4.

The git@ syntax requires an SSH key with permissions to the repo.
@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling e9a863e on guykisel:fix-readme-repo-address into 31865d0 on FalconSocial:master.

@dinoshauer
Copy link
Contributor

Sweet! Thanks!

@dinoshauer dinoshauer closed this Oct 22, 2014
@dinoshauer dinoshauer reopened this Oct 22, 2014
dinoshauer added a commit that referenced this pull request Oct 22, 2014
Fix git address in example pre-commit yaml
@dinoshauer dinoshauer merged commit e396807 into FalconSocial:master Oct 22, 2014
@guykisel guykisel deleted the fix-readme-repo-address branch October 22, 2014 15:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants