Jim Miller
unread,Nov 10, 2015, 8:41:02 PM11/10/15Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gitolite
Hello everyone,
I've just setup gitolite, created a new repository and when I did my first push I recieved this error and was hoping someone might have an idea of how to fix this.
[jim@myhost nodes]$ git init
Initialized empty Git repository in /nodes/.git/
[jim@myhost nodes]$ git add .
[jim@myhost nodes]$ git commit -m 'initial commit of puppet nodes' -a
[master (root-commit) f99bb6d] initial commit of puppet nodes
2 files changed, 89 insertions(+), 0 deletions(-)
create mode 100644 mynewfile1
create mode 100644 mynewfile2
[jim@myhost nodes]$ git remote add origin git@myhost:nodes
[jim@myhost nodes]$ git push origin master:refs/head/master
Enter passphrase for key '/home/jim/.ssh/my_rsa_key':
Counting objects: 4, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (4/4), done.
Writing objects: 100% (4/4), 1.58 KiB, done.
Total 4 (delta 0), reused 0 (delta 0)
remote: hooks/post-receive: line 7: syntax error near unexpected token `done'
remote: hooks/post-receive: line 7: `done'
To git@myhost:nodes
* [new branch] master -> refs/head/master
[jim@myhost nodes]$ git push --set-upstream origin master
Enter passphrase for key '/home/jim/.ssh/my_rsa_key':
Total 0 (delta 0), reused 0 (delta 0)
remote: hooks/post-receive: line 7: syntax error near unexpected token `done'
remote: hooks/post-receive: line 7: `done'
To git@myhost:nodes
* [new branch] master -> master
Branch master set up to track remote branch master from origin.