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 :: download composer 
Shell :: Unable to locate package brave-browser ubuntu 20 
Shell :: how to install kubectl in ubuntu 
Shell :: shell show number of files in each folder 
Shell :: how to close an issue with a commit 
Shell :: unable to install ta-lib 
Shell :: linux recover deleted file 
Shell :: ssh for github 
Shell :: kivy install ubuntu 20 
Shell :: copy file in linux command 
Shell :: how to delete evicted pod in kubernetes: 
Shell :: bash loading bar spinner in bash shell script 
Shell :: gtk4 windows install 
Shell :: how to upgrade packages in ubuntu 20.04 
Shell :: linux append to file 
Shell :: fedora linux 
Shell :: git add file without commit 
Shell :: delete a file in linux 
Shell :: set keyboard azerty linux 
Shell :: how to install socket.io to node js 
Shell :: how to remove a software from linux 
Shell :: install geopandas in jupyter notebook 
Shell :: install serverless framework 
Shell :: hwo to remove ssh key 
Shell :: Backup Restore and Upgrade Gitlab 
Shell :: ls order by date 
Shell :: how to stash specific file in git 
Shell :: how to update your local repository 
Shell :: macbook pro mac address 
Shell :: Git - delete specific branch 
ADD CONTENT
Topic
Content
Source link
Name
5+1 =