Bug #7009
Updated by Bryan Cosca over 9 years ago
<pre> bcosc@bcosc.qr1hi:~$ git clone git@git.qr1hi.arvadosapi.com:bcosc/tutorial.git Cloning into 'tutorial'... WARNING: 'bcosc/tutorial' is an alias for 'qr1hi-s0uqq-d8f209qzktcaq3l' warning: You appear to have cloned an empty repository. bcosc@bcosc.qr1hi:~$ cd tutorial bcosc@bcosc.qr1hi:~/tutorial$ ls bcosc@bcosc.qr1hi:~/tutorial$ echo 'hello world' > tutorial.txt bcosc@bcosc.qr1hi:~/tutorial$ git add * bcosc@bcosc.qr1hi:~/tutorial$ git commit -a -m "added tutorial.txt" [master (root-commit) 593ebab] added tutorial.txt Committer: bcosc <bcosc@bcosc.shell.qr1hi.arvadosapi.com> Your name and email address were configured automatically based on your username and hostname. Please check that they are accurate. You can suppress this message by setting them explicitly: git config --global user.name "Your Name" git config --global user.email you@example.com After doing this, you may fix the identity used for this commit with: git commit --amend --reset-author 1 file changed, 1 insertion(+) create mode 100644 tutorial.txt bcosc@bcosc.qr1hi:~/tutorial$ git push origin master WARNING: 'bcosc/tutorial' is an alias for 'qr1hi-s0uqq-d8f209qzktcaq3l' Counting objects: 3, done. Writing objects: 100% (3/3), 237 bytes, done. Total 3 (delta 0), reused 0 (delta 0) To git@git.qr1hi.arvadosapi.com:bcosc/tutorial.git * [new branch] master -> master bcosc@bcosc.qr1hi:~/tutorial$ logout Connection to bcosc.shell.arvados closed. bcosc@bcosc-VirtualBox:~$ ssh bcosc.shell.arvados bcosc@bcosc.qr1hi:~$ rm -rf tutorial bcosc@bcosc.qr1hi:~$ git clone https://git.qr1hi.arvadosapi.com/bcosc/tutorial.git Cloning into 'tutorial'... remote: Counting objects: 3, done. remote: Total 3 (delta 0), reused 0 (delta 0) Unpacking objects: 100% (3/3), done. bcosc@bcosc.qr1hi:~$ cd tutorial bcosc@bcosc.qr1hi:~/tutorial$ ls tutorial.txt bcosc@bcosc.qr1hi:~/tutorial$ echo 'hello world' > tutorial2.txt bcosc@bcosc.qr1hi:~/tutorial$ git add * bcosc@bcosc.qr1hi:~/tutorial$ git commit -a -m "added tutorial2.txt" [master 48fa5a7] added tutorial2.txt Committer: bcosc <bcosc@bcosc.shell.qr1hi.arvadosapi.com> Your name and email address were configured automatically based on your username and hostname. Please check that they are accurate. You can suppress this message by setting them explicitly: git config --global user.name "Your Name" git config --global user.email you@example.com After doing this, you may fix the identity used for this commit with: git commit --amend --reset-author 1 file changed, 1 insertion(+) create mode 100644 tutorial2.txt bcosc@bcosc.qr1hi:~/tutorial$ git push Counting objects: 3, done. Delta compression using up to 2 threads. Compressing objects: 100% (2/2), done. Writing objects: 100% (2/2), 255 bytes, done. Total 2 (delta 0), reused 0 (delta 0) remote: Empty compile time value given to use lib at hooks/update line 6 remote: Use of uninitialized value in require at hooks/update line 7. remote: Can't locate Gitolite/Hooks/Update.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at hooks/update line 7. remote: BEGIN failed--compilation aborted at hooks/update line 7. remote: error: hook declined to update refs/heads/master To https://git.qr1hi.arvadosapi.com/bcosc/tutorial.git ! [remote rejected] master -> master (hook declined) error: failed to push some refs to 'https://git.qr1hi.arvadosapi.com/bcosc/tutorial.git' </pre>