git tag

add tags to specific commits

标记特定的提交,将其和其它的提交区分出来

git log 的 —decorate 选项

正如你所了解的,git log 是一个非常强大的工具,可以让我们查看仓库的 commit。我们已经学习了几个选项,现在该学习一个新的选项了。—decorate 选项将显示默认视图隐藏起来的一些详情。
马上去试试运行 git log —decorate 吧!

💡 Git 2.13 中 —decorate 选项的变化💡

在 2.13 版 git 中,log 命令已改为自动启用 —decorate 选项。这意味着,你不需要在命令中包含 —decorate 选项,因为它已经自动包含了!因此下面的命令输出结果完全一样:

  1. $ git log --decorate
  2. $ git log

git branch

allows multiple lines of development

git checkout

switch betweeb different branches and tags

git merge

combines changs on different braches