All links of one day
in a single page.
<Previous day - Next day>

rss_feedDaily RSS Feed
floral_left The Daily Shaarli floral_right
——————————— Thursday 24, May 2018 ———————————
branch - commit - delete - git - hard - last - reset -
thumbnail
"Delete commits from a branch in Git - Stack Overflow"

git reset --hard HEAD~1

=> Le 1 indique que l'on veut revenir 1 commit en arrière

git push origin HEAD --force

=> Si le commit a déjà été poussé, il faut forcer /!\ (pas forcément conseillé)
-