Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git undo commit keep changes

#windows
git reset --soft HEAD~1
Comment

git revert commit but keep changes

git reset HEAD^
Comment

undo git commit and keep changes

git reset HEAD^
git reset
Comment

PREVIOUS NEXT
Code Example
Shell :: how to uncommit last commit in git 
Shell :: access wine directory mac os 
Shell :: git reset soft head 
Shell :: Error: EACCES: permission denied, mkdtemp linux ubuntu 
Shell :: install python module ImageTk 
Shell :: how to update metasploit 
Shell :: linux export path 
Shell :: how to install limma in r 
Shell :: apply git diff 
Shell :: instalar docker compose ubuntu 
Shell :: Create And Restore MongoDB Backups 
Shell :: bash grep find lines that start with word 
Shell :: check disk space linux 
Shell :: Fetch all braches in git 
Shell :: bash get name of current script 
Shell :: install docker centos 8 
Shell :: git move changes to new branch 
Shell :: change default kube editor 
Shell :: packet tracer ubuntu 
Shell :: delete file hdfs dfs 
Shell :: fortinet vpn client for ubuntu 
Shell :: xargs multiple commands "mac" 
Shell :: linux go to home directory 
Shell :: close chrome tab from command line ubuntu 
Shell :: instalacion de angular cli 
Shell :: git push example 
Shell :: how to exit git rebase 
Shell :: httpd service centos 7 and centos 8 
Shell :: install nvidia cuda toolkit ubuntu 20.04 
Shell :: install redis-cli on ec2 
ADD CONTENT
Topic
Content
Source link
Name
1+6 =