Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git delete master branch and recreate

git checkout better_branch
git merge --strategy=ours master    # keep the content of this branch, but record a merge
git checkout master
git merge better_branch             # fast-forward master up to the merge
Comment

PREVIOUS NEXT
Code Example
Shell :: bash how to print the list of files in a directory 
Shell :: httrack 
Shell :: openssl ubuntu random string generator 
Shell :: path to flutter linux 
Shell :: enter 1 digit max number field 
Shell :: docker prune dangling none 
Shell :: copying files in Docker to directory gives error 
Shell :: grep output to file 
Shell :: deploy github actions with firebase 
Shell :: centos history rollback 
Shell :: mocha silent 
Shell :: ssh passphrase stop asking 
Shell :: how to recover last commit git 
Shell :: Failed to mount cgroup at /sys/fs/cgroup/systemd: Operation not permitted 
Shell :: cat ssh rsa 
Shell :: creat a new repository push 
Shell :: Managing the Nginx Process 
Shell :: how to close port in linux 
Shell :: insta;; fingerprint in kali linux 
Shell :: echo new line in a file bash 
Shell :: install phpstan laravel 
Shell :: gem install to a different directory linux 
Shell :: how to install docker linux mint 
Shell :: vim set color scheme in vimrc 
Shell :: sudo unzip command 
Shell :: git cherry pick example 
Shell :: git push to remote branch 
Shell :: delete folder in linux 
Shell :: xampp ubuntu 20.04 
Shell :: how to push to new branch in github 
ADD CONTENT
Topic
Content
Source link
Name
5+3 =