Re: [git-users] unknown revisions of software

2011-02-10 Thread Konstantin Khomoutov
On Thu, Feb 10, 2011 at 02:20:15PM -0800, Jason Brooks wrote: > I am not sure what I am asking, so I thought I would start here. If I > knew the name of this operation, I would look for it. :) > > I have a software deployment that was copied out of a git repository > but without the .git direct

Re: [git-users] Deleting a commit

2011-02-10 Thread Martin Fick
Oops, forgot that I use git aliases: On Thursday 10 February 2011 05:11:18 pm Martin Fick wrote: > One way to do it: > > Check out the last good commit: > > git co git checkout > Delete the old branch (current head is still on last good > commit): > > git br -D online git branc

Re: [git-users] Deleting a commit

2011-02-10 Thread Martin Fick
One way to do it: Check out the last good commit: git co Delete the old branch (current head is still on last good commit): git br -D online Recreate the old branch (with HEAD now pointing to last good SHA1: git co -b online -Martin On Thursday 10 February 2011 04:58:21 pm Daniel

[git-users] Deleting a commit

2011-02-10 Thread Daniel Trezub
Hail! I've messed with the history of one of my branches. Now it looks like this: http://twitpic.com/3yfhrk I want to get rid, delete, kill, bury, purge or however you can call the complete removal of the commits in the branch "online". I don't even mind about deleting the branch "online" itselve

[git-users] unknown revisions of software

2011-02-10 Thread Jason Brooks
Hello, I am not sure what I am asking, so I thought I would start here. If I knew the name of this operation, I would look for it. :) I have a software deployment that was copied out of a git repository but without the .git directories. Thus, I have no idea what revision this deployment is, an