Re: git overnight process

"James K. Lowden" <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
On Wed, 03 Oct 2012 18:05:29 +0000 (GMT)
"Craig A. Berry" <[email protected]> wrote:

> git reset --hard origin/master
> 
> should do the trick assuming you want to throw away local changes to
> configure.ac and get into exactly the same state as the remote
> repository.  

Thank you kindly, captain.  This is the nightly tarballer; the local
changes are a result of munging configure.ac the night before with the
current mumble git number revision thing.  Absolutely fine to discard
and replace (and repatch) with the server's version.  

       --hard
           Matches the working tree and index to that of the tree being
           switched to. Any changes to tracked files in the working
	   tree since <commit> are lost.

I read that before posting.  "the tree being switched to" didn't sound
like what I wanted.  It's the same old tree, possibly updated a
little.  

Regards, 

--jkl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.