[support] Backing out update

Steve Edwards killshot91 at gmail.com
Fri Mar 30 15:39:43 UTC 2012


git reset --hard HEAD will set your files back to whatever is currently committed.

On Mar 30, 2012, at 8:35 AM, Ms. Nancy Wichmann wrote:

> I cloned a site repository for a Drupal 7.6 site. I then copied working 7.12 core files on top of it. I have not added or committed the changes. I need to go back to the original code. I tried "git revert" and it wanted some more parameters that don't make sense to me. "Git pull" listed all the changes and then said that everything was still on "master" and the site still shows as having 7.12.
> 
> Other than redoing the "git clone" is there a "right" way to back out the update?
>  
> Nancy
>  
> Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.
> -- 
> [ Drupal support list | http://lists.drupal.org/ ]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20120330/72419695/attachment.html 


More information about the support mailing list