Re: [git-users] How to remove commit from branch

2016-09-05 Thread Michael
On 2016-09-05, at 3:06 AM, Philip Oakley wrote: > Remember, new branches cost nothing! (Ok, so it's a 40 byte file, but that's > still nothing) I think that 40 byte file costs a full 4K allocation block, no? (I know, file system dependent). --- Entertaining minecraft videos http://YouTube.com

Re: [git-users] How to remove commit from branch

2016-09-05 Thread Philip Oakley
emporary' purpose. Philip Remember, new branches cost nothing! (Ok, so it's a 40 byte file, but that's still nothing) - Original Message - From: hellboy To: Git for human beings Sent: Monday, September 05, 2016 8:59 AM Subject: [git-users] How to remove commit fr

Re: [git-users] How to remove commit from branch

2016-09-05 Thread Gergely Polonkai
With an interactive rebase. $ git rebase --interactive "commit HASH to remove"^ # note the ^ character In the rebase TODO list, remove the commit(s) you don’t need, save and exit. If the commit is really old (in term of new commits, not necessarily time), there may be merge conflicts, so be prep

[git-users] How to remove commit from branch

2016-09-05 Thread hellboy
How can I (temporally) remove commit from branch if this commit is not the last in the history -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users