Answers for "bootstrap link and script"

16

git undo commit

# Uncommit the changes
git reset --soft HEAD~1

# Completely delete the changes
git reset --hard HEAD~1
Posted by: Guest on September-04-2020
19

git cancel last commit

git reset --soft HEAD~1
Posted by: Guest on March-30-2020
1

pop last commit git

#this  will preserve changes done to your files
git reset --soft HEAD~1

#this will get rid of the commit and the changes done to the files
$ git reset --hard HEAD~1
Posted by: Guest on January-15-2021
5

git delete local commit

git reset --hard origin/<branch_name>
Posted by: Guest on June-19-2020
5

how do i get the last commit

$ git reset --soft HEAD~1
Posted by: Guest on April-15-2020
2

undo most recent commit

$ git commit -m "some comment"                
$ git reset HEAD~                                          
<< edit files as necessary >>                              
$ git add ...                                              
$ git commit -c ORIG_HEAD
Posted by: Guest on June-18-2020
199

bootstrap cdn

<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
Posted by: Guest on February-09-2020

Browse Popular Code Answers by Language