Time to Rewrite your Git History Effectively with git reflogby@pragativerma
4,347 reads

Time to Rewrite your Git History Effectively with git reflog

tldt arrow
EN
Read on Terminal Reader
Read this story w/o Javascript

Too Long; Didn't Read

Git records changes in a variety of ways to ensure that you never lose a committed change. A reflog is a reference, often known as a "ref**," is a pointer to a commit or branch that many Git commands accept as a parameter. By default, reflogs keep track of each `HEAD` position throughout the last 90 days. The reflog history is exclusive to the repository and is not accessible remotely. Each reflog entry has a timestamp attached to it that can also be leveraged as a qualifier token for the Git ref pointer syntax.

Company Mentioned

Mention Thumbnail
featured image - Time to Rewrite your Git History Effectively with git reflog
Pragati Verma HackerNoon profile picture

@pragativerma

Pragati Verma

I am a Software Developer with a keen interest in tech content writing.


Receive Stories from @pragativerma

react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!