From: John Tapsell Date: Thu, 19 Feb 2009 09:52:29 GMT Subject: Re: git rebase -i Message-ID: <43d8ce650902190152t6162593x8d0920be0e6d7a6d@mail.gmail.com> In-Reply-To: <871vtudabm.fsf@iki.fi> 2009/2/19 Teemu Likonen : > On 2009-02-19 09:21 (UTC), John Tapsell wrote: > >> I often do 'git rebase -i HEAD~10' to rebase. Since afaics it >> doesn't matter if you go back 'too far' I just always use HEAD~10 even >> if it's just for the last or so commit. >> >> Would there be any objections to making 'git rebase -i' default to >> HEAD~10 or maybe 16 or 20. Having sensible defaults for commands >> helps a bit with making it easier to use. > > I think it's better to use aliases for this kind of personal things: > > git config --global alias.my-rebase "rebase -i HEAD~10" > > Now you can do: > > git my-rebase > I'm trying to make git more obvious and easier to use, rather than find any solution :-)