How to use git

Mojca Miklavec mojca at macports.org
Mon Aug 22 01:57:23 PDT 2016


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.

Mojca


More information about the macports-dev mailing list