Skip to content

Instantly share code, notes, and snippets.

@hughperkins
Created July 5, 2016 14:42
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 hughperkins/9149c27461c7b82bbd68bf68b4fe946c to your computer and use it in GitHub Desktop.
Save hughperkins/9149c27461c7b82bbd68bf68b4fe946c to your computer and use it in GitHub Desktop.
ubuntu@peach:~$ cd /tmp
ubuntu@peach:/tmp$ git clone https://github.com/hughperkins/test-checks.git
Cloning into 'test-checks'...
remote: Counting objects: 17, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 17 (delta 0), reused 0 (delta 0), pack-reused 13
Unpacking objects: 100% (17/17), done.
Checking connectivity... done.
ubuntu@peach:/tmp$ cd test-checks/
ubuntu@peach:/tmp/test-checks$ ls
README.md
ubuntu@peach:/tmp/test-checks$ touch foo
ubuntu@peach:/tmp/test-checks$ echo hello >foo
ubuntu@peach:/tmp/test-checks$ git add foo
ubuntu@peach:/tmp/test-checks$ git commit -m "add foo"
[master 2353101] add foo
1 file changed, 1 insertion(+)
create mode 100644 foo
ubuntu@peach:/tmp/test-checks$ git push
aws --profile CodeCommitProfile codecommit credential-helper $@ get: 1: aws --profile CodeCommitProfile codecommit credential-helper $@ get: aws: not found
Username for 'https://github.com/hughperkins/test-checks.git': hughperkins
Password for 'https://hughperkins@github.com/hughperkins/test-checks.git':
aws --profile CodeCommitProfile codecommit credential-helper $@ store: 1: aws --profile CodeCommitProfile codecommit credential-helper $@ store: aws: not found
Counting objects: 3, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 277 bytes | 0 bytes/s, done.
Total 3 (delta 0), reused 0 (delta 0)
To https://github.com/hughperkins/test-checks.git
ffd485a..2353101 master -> master
ubuntu@peach:/tmp/test-checks$ echo foo>>foo
ubuntu@peach:/tmp/test-checks$ git commit -m "test commit2"
On branch master
Your branch is up-to-date with 'origin/master'.
Changes not staged for commit:
modified: foo
no changes added to commit
ubuntu@peach:/tmp/test-checks$ git add foo
ubuntu@peach:/tmp/test-checks$ git commit -m "test commit2"
[master 450d9aa] test commit2
1 file changed, 1 insertion(+)
ubuntu@peach:/tmp/test-checks$ git push
aws --profile CodeCommitProfile codecommit credential-helper $@ get: 1: aws --profile CodeCommitProfile codecommit credential-helper $@ get: aws: not found
Username for 'https://github.com/hughperkins/test-checks.git': hughperkinsbot
Password for 'https://hughperkinsbot@github.com/hughperkins/test-checks.git':
remote: You must verify your email address.
remote: See https://github.com/settings/emails.
fatal: unable to access 'https://github.com/hughperkins/test-checks.git/': The requested URL returned error: 403
ubuntu@peach:/tmp/test-checks$ git push
aws --profile CodeCommitProfile codecommit credential-helper $@ get: 1: aws --profile CodeCommitProfile codecommit credential-helper $@ get: aws: not found
Username for 'https://github.com/hughperkins/test-checks.git': hughperkinsbot
Password for 'https://hughperkinsbot@github.com/hughperkins/test-checks.git':
aws --profile CodeCommitProfile codecommit credential-helper $@ store: 1: aws --profile CodeCommitProfile codecommit credential-helper $@ store: aws: not found
Counting objects: 3, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 282 bytes | 0 bytes/s, done.
Total 3 (delta 0), reused 0 (delta 0)
remote: error: GH006: Protected branch update failed for refs/heads/master.
remote: error: Required status check "hughtest1" is expected
To https://github.com/hughperkins/test-checks.git
! [remote rejected] master -> master (protected branch hook declined)
error: failed to push some refs to 'https://github.com/hughperkins/test-checks.git'
ubuntu@peach:/tmp/test-checks$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment