Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git remove commit before push

# Removes latest commit from the stash, KEEPS changes
git reset --soft HEAD~

# Removes latest commit from the stash, DELETES changes
git reset --hard HEAD~
Comment

PREVIOUS NEXT
Code Example
Shell :: linux install java jre command line 
Shell :: install .net sdk on ubuntu 
Shell :: install yacc on ubuntu 
Shell :: see git ignored files 
Shell :: reload bashrc 
Shell :: docker hello world 
Shell :: kill processes on port 80 
Shell :: linux mesuare request time http 
Shell :: disable firewall ubuntu 
Shell :: reinstall angular core 
Shell :: get random number shell script 
Shell :: a.isdigit(): for negatives 
Shell :: uninstall cheese linux 
Shell :: migrate fresh 
Shell :: no console pyinstaller 
Shell :: how to know the shell version in ubuntu 
Shell :: stop rebase git 
Shell :: kubectl autocomplete zsh 
Shell :: give write-access of a folder to all users in linux? 
Shell :: powershell script to disable screensaver 
Shell :: composer require maatwebsite/excel install 
Shell :: brew update git 
Shell :: configure your git username/email 
Shell :: git log oneline graph 
Shell :: angular cli global update 
Shell :: add folder to path mac 
Shell :: open avd manager linux 
Shell :: kubectl to show label of pod 
Shell :: check bash version 
Shell :: install curl mac 
ADD CONTENT
Topic
Content
Source link
Name
2+7 =