[Pkg-phototools-devel] Fixing a commit (log) mistake on openjpeg.git

Sebastian Harl sh at tokkee.org
Tue Jan 29 12:38:21 UTC 2008


Hi Robin,

On Tue, Jan 29, 2008 at 10:51:53AM +0000, Robin Cornelius wrote:
> I was going to try a git-reset <commit id> which i know works on a
> local copy, (then clone again and redo the changes and commits)
> but as alioth does not have checked out local trees this will not
> work. I don't want to just start *playing* on alioth.

If you want to fix it, you can do the following in your local copy:

 % git reset <commit id>
 % # hack, change, whatever
 % git commit
 % git push <git.debian.org> +<branch>:<remote-branch>

(please note the plus sign (+) in front of the branch - it will force the
remote ref to be updated even if it does not fast-forward)

HTH,
Sebastian

-- 
Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/

Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety.         -- Benjamin Franklin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-phototools-devel/attachments/20080129/a308a5b9/attachment.pgp 


More information about the Pkg-phototools-devel mailing list