Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git remove unpushed commit

# 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 :: rxjs_1.lastValueFrom is not a function 
Shell :: expo start release mode 
Shell :: install lightshot on ubuntu 
Shell :: Error: Cannot install in Homebrew on ARM processor in Intel default prefix (/usr/local)! 
Shell :: restart bashrc 
Shell :: change remote url git 
Shell :: docker remove all images 
Shell :: install rspec globally 
Shell :: extract tar.gz mac command line 
Shell :: cli generate random string 
Shell :: kill nohup process 
Shell :: run a command x number of times linux 
Shell :: uninstall cheese ubuntu 
Shell :: how to check services running on port 8080 in linux 
Shell :: findspark:install 
Shell :: bash remove characters from end of every line 
Shell :: E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? 
Shell :: gitignore committed file 
Shell :: git global gitignore 
Shell :: remotelog muirey03 github 
Shell :: installing hinterland for jupyter without anaconda 
Shell :: mac os terminal bash command not found 
Shell :: bash list process on port 
Shell :: wsl sync clock time 
Shell :: mvn command not found ubuntu 
Shell :: pip3.8 install ubuntu 
Shell :: how to restart psql in linux 
Shell :: laravel add to path ubuntu 
Shell :: bash: /var/lib/snapd/snap/bin/docker-compose: No such file or directory 
Shell :: device manager windows 10 run 
ADD CONTENT
Topic
Content
Source link
Name
9+8 =