mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Junio C Hamano <>
To: daicoden <>
Subject: Re: Git Hooks
Date: Wed, 16 Sep 2009 16:31:31 -0700	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <> ('s message of "Wed\, 16 Sep 2009 16\:24\:11 -0700 \(PDT\)")

daicoden <> writes:

> cd /var/www/blog
> thin -s 2 -C config.yml -R stop
> cd .git
> git pull origin master
> cd ..
> thin -s 2 -C config.yml -R 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?

  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]
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:

  List information:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \

* 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

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).