git tag does that.

git tag step-1 9cb0262c20d838109106e2ca25a649b0762401d4

Or

git tag right-here

with nothing else tags the current (HEAD) commit.

git tag new-name old-name

makes "new-name" and "old-name" point to the same commit.

git tag grandfather HEAD~~

and so on.


On Wed, Sep 11, 2013 at 12:41 PM, Rich Naylor <stinker...@gmail.com> wrote:

> im using git to allow users in a training class to update there
> development space to reflect the chapter/module that they are in. so, the
> user starts the class by cloning a repo, then uses 'git checkout -f ....'
> to update themselves for each chapter/module. Does anyone know how i can
> rename/alias the commits to something more humanly readable. Currently they
> would type or copy/paste something similar to this:
>
> git checkout -f 9cb0262c20d838109106e2ca25a649**b0762401d4
>
> I've seen other projects make it look like this:
>
> git checkout -f step-1
>
> anyone know how i can do this? Or have something i can reference?
>
> --
> 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+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
As of next week, passwords will be entered in Morse code.

Maranatha! <><
John McKown

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to