Question : git commit remove and restore
Answered by : winwinmaw
git commit -m 'commit1'
git log
git log --oneline //08764->commit1
git revert 08764(commitCode)(remove commit)
git revert 09876(revert Code)(restore commit)
Source : | Last Update : Thu, 07 Jul 22