Re: How to revert commit in git?



I've done that, but file is still wrong :(

Can I recover the previous po file? po/es.po in git is the doc po file

2011/9/15 Ihar Hrachyshka <ihar hrachyshka gmail com>
On 09/15/2011 02:01 PM, Daniel Mustieles García wrote:
> Hi all,
>
> By mistake, I've pushed a wrong file to git. I wanted to update
> gtranslator/help/es.po, but I've modified (and pushed) po/es.po.
>
> Now, I dont know hot to revert this commit, in order to get the previous
> po/es.po file.
>
> Could you please help me?
>
> Many thanks ando sorry for the incovenience
>

Hi,

'git revert commit-hash-to-revert ; git push' will do the job.

See:
http://book.git-scm.com/4_undoing_in_git_-_reset,_checkout_and_revert.html

/Ihar
_______________________________________________
gnome-i18n mailing list
gnome-i18n gnome org
http://mail.gnome.org/mailman/listinfo/gnome-i18n



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]