Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git soft reset head

git reset --soft HEAD^
//resets head by 1
Comment

git undo git reset --soft HEAD~1

To undo:  git reset --soft HEAD~1
Use: git reset 'HEAD@{1}'
Comment

PREVIOUS NEXT
Code Example
Shell :: You must install at least one postgresql-client-<version package 
Shell :: git clone branch from repo 
Shell :: docker compose v2 install 
Shell :: nodemon watch file run command 
Shell :: Write to NTFS on Mac OS 
Shell :: can we declare state outside the class 
Shell :: how to replace string in a json sed 
Shell :: msiexec wait for completion powershell 
Shell :: Run emulator without Android studio. 
Shell :: install jdk linux command 
Shell :: error: cannot list snaps: cannot communicate with server: Get "http://localhost/v2/snaps": dial unix /run/snapd.socket: connect: no such file or directory 
Shell :: git force push 
Shell :: django-dotenv pip 
Shell :: saml2aws logout 
Shell :: Install psycopg2-binary on linux 
Shell :: The requested URL was not found on this server. Apache/2.4.41 (Ubuntu) Server at Port 80 
Shell :: reload bash 
Shell :: installing Snowflake connector 
Shell :: mongodb create collection 
Shell :: git lines per user 
Shell :: difference between shell and terminal 
Shell :: get y.output file yacc remove shift reduce conflict 
Shell :: vs code installed extensions list command 
Shell :: truncate docker logs 
Shell :: dbeaver linux 
Shell :: vim save read only file 
Shell :: bash wait 3 seconda 
Shell :: ubuntu desktop sharing not working teams 
Shell :: install snap macos 
Shell :: remove all files inside directory linux 
ADD CONTENT
Topic
Content
Source link
Name
1+2 =