Git Command
To list all references
To list all references
bash
git show-refyaml
heads: refers to an object locally,
remotes: refers to an object which exists in a remote repository,
stash: refers to an object not yet committed,
meta: e.g., a configuration in a bare repository, user rights; the refs/meta/config namespace was introduced retrospectively, gets used by Gerrit,[77]
tags: Like branch references, but fixed to a particular commit. Used to label important points in history.git/git-command.md
Related articles
- GitGit SubmodulesA practical guide to adding, updating, moving and removing Git submodules.
- GitGit Delete BranchSee which side introduced the current differences
- GitGit LogTo show short commit id, date and commit title To view the code changed by commit id To show graph with last 5 lines To show all branchs
- GitGit PullBreakdown Updating 1accfd5..b22e649 Your local branch was at commit 1accfd5. After pulling, it moved to commit b22e649. Fast-forward Git did not create a merge commit. Your local…