Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

github set commit on head

Back to old commit types: 
#1 Git Revert
(A) (B) (C) // Start
reset to A, than Force Push to A // Action
(A) (B) (C) (A) // Finish. it promote A to Top!
\___________/

#2 Force Push:
(A) (B) (C) // Start
reset to A, than Force Push to A // Action
(A) // Finish. it remove the after commits!

#3 -  There probbably another ways Lol.. 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #github #set #commit #head
ADD COMMENT
Topic
Name
8+6 =