Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git clean all submodules on branch switch

# Be careful it will delete all untracked files, reset all stagated files
# and will remove all submodule folders
git reset --hard
git checkout gh-pages
git clean -xffd
# Optional restoration of submodules content
git submodule update --init --recursive
Comment

PREVIOUS NEXT
Code Example
Shell :: wifi driver 
Shell :: ubuntu drivers 
Shell :: terminator linux is not start 
Shell :: winui 3 installation 
Shell :: what does worktree prune do 
Shell :: npm audit undu 
Shell :: install docker in suse linux 
Shell :: aws secrets manager get password 
Shell :: cli50 install with pip3 
Shell :: log the output of the terminal 
Shell :: composer install -- 
Shell :: flutter live reload chrome 
Shell :: install serverless-google-cloudfunctions 
Shell :: xargs example with curl 
Shell :: bitnami wordpress enable ssh 
Shell :: locate file in KALI Linux 
Shell :: how to customize zsh 
Shell :: how to git commit and push 
Shell :: generate zip file terminal 
Shell :: homebrew 
Shell :: how to commit files in github 
Shell :: how to make ngrok not expired 
Shell :: create self signed certificate 
Shell :: how to make migrations in models in django 
Shell :: how to pass docker hub credentials for k8s pods 
Shell :: flutter desktop 
Shell :: diff linux 
Shell :: bash start two processes at the same time 
Shell :: git issues 
Shell :: install peer dependencies in npm 
ADD CONTENT
Topic
Content
Source link
Name
2+9 =