Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

undo git stash with conflicts

git reset HEAD . (note the trailing dot)
git stash (save the conflicted merge, just in case)
git checkout develop
git fetch upstream; git merge upstream/develop
git checkout <new-branch>; git rebase develop
git stash apply stash@{1}
Comment

PREVIOUS NEXT
Code Example
Shell :: fortigate show system version 
Shell :: execution policy powershell single script 
Shell :: restart fstab ununtu 
Shell :: rm rf except one directory 
Shell :: git pull on branch 
Shell :: how to run multiple npm scripts parallel 
Shell :: create vue app locally 
Shell :: bash function 
Shell :: verbose stack Error: bcrypt@1.0.3 install: `node-pre-gyp install --fallback-to-build` 
Shell :: powershell qr code generator 
Shell :: git show signed commit 
Shell :: extract tar gz 
Shell :: install git on windows 10 
Shell :: puppet install on centos 7 
Shell :: change directory in git bash 
Shell :: clone code -lr 
Shell :: setup commandline vscode in mac 
Shell :: git push f head 
Shell :: ubuntu iso 
Shell :: download specific folder from git 
Shell :: package github.com/golang-migrate/migrate is not a main package 
Shell :: open cmd in current directory 
Shell :: install solana 
Shell :: echo new line in a file bash 
Shell :: git create branch from commit 
Shell :: Make an existing Git branch track a remote branch 
Shell :: copy first 100 lines from a file linux 
Shell :: linux make file 
Shell :: convert dos to unix 
Shell :: install dicker machine 
ADD CONTENT
Topic
Content
Source link
Name
7+9 =