Hey Guys,
Today we talk about how to recover from git reset head command.
Sometimes we do git reset HEAD~ to move the pointer to previous commit .
If we again we want to come back to latest commit or other commits
Do the below
git reflog show ## display all the commits log with HEAD
git reset HEAD@{1} ## reset to selected HEAD from above list
NS2 downloads,Angular js ,NS2 TCL Scripts,NS2 Install,NS2 Awk,Xgraph,NS2 research,NS2 problems,NS2 trace files, NS2 help,NS2 solutions,NS2 routing protocols download,MAODV download,PUMA download,AODV awk scripts,AODV throughput download,awk script for AODV,energy for AODV,end-toend delay for NS2,jitter for NS2,
Saturday, 24 March 2018
Recover from Git Hard Reset
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment