On Mon, Aug 22, 2016 at 10:57 AM, Mojca Miklavec <[email protected]> wrote:
> On 20 August 2016 at 02:19, Ryan Schmidt wrote: > > > > https://trac.macports.org/wiki/WorkingWithGit > > We should add this: > http://stackoverflow.com/questions/927358/how-to-undo- > last-commits-in-git#927386 > to: > https://trac.macports.org/wiki/WorkingWithGit#revert > > Currently the third paragraph sounds scary and it doesn't have to be. > > I use "git reset HEAD~" all the time to fix commit messages or to fix > whatever I screwed up in the last commit. > Don't you find git commit --amend easier for such purpose ? -- David
_______________________________________________ macports-dev mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-dev
