Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

remove commit from github

git reset -- MAIN^
git reset -- MAIN^2 (reset last 2 commits)
(increase number for number of commits you want
to delete from your local repo, before youve pushed)
 
PREVIOUS NEXT
Tagged: #remove #commit #github
ADD COMMENT
Topic
Name
1+4 =