From: Junio C Hamano <gitster@pobox.com>
To: daicoden <daicoden@copypastel.com>
Cc: git@vger.kernel.org
Subject: Re: Git Hooks
Date: Wed, 16 Sep 2009 16:31:31 -0700 [thread overview]
Message-ID: <7vzl8uv54c.fsf@alter.siamese.dyndns.org> (raw)
In-Reply-To: <25482688.post@talk.nabble.com> (daicoden@copypastel.com's message of "Wed\, 16 Sep 2009 16\:24\:11 -0700 \(PDT\)")
daicoden <daicoden@copypastel.com> writes:
> cd /var/www/blog
> thin -s 2 -C config.yml -R config.ru stop
> cd .git
> git pull origin master
> cd ..
> thin -s 2 -C config.yml -R config.ru start
Unless you have a strange configuration in which you have work tree files
inside a .git directory of another repository, running "git pull" after
going into .git directory does not make any sense.
Perhaps add this
unset GIT_DIR
at the very beginning of your original script would make it work better?
next prev parent reply other threads:[~2009-09-16 23:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-16 23:24 Git Hooks daicoden
2009-09-16 23:31 ` Junio C Hamano [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-12-15 19:12 Satyakiran Duggina
2017-12-15 19:23 ` Bryan Turner
2017-12-15 20:48 ` Satyakiran Duggina
2017-12-16 9:53 ` Jeff King
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7vzl8uv54c.fsf@alter.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=daicoden@copypastel.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).