Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

updating local git clone after default branch rename

git branch -m develop main
git fetch origin
git branch -u origin/main main
git remote set-head origin -a
Comment

Update local clone and rename branch

git branch -m main master   
git fetch origin
git branch -u origin/master master
git remote set-head origin -a
Comment

PREVIOUS NEXT
Code Example
Shell :: On Debian and Ubuntu systems stop all apache2 processes 
Shell :: pip install chart.js 
Shell :: install winrt 
Shell :: weka explorer for ubuntu 
Shell :: azure cli create web app 
Shell :: highlight for ubuntu 
Shell :: Keepalived initialization file content 
Shell :: how to set umask in bashrs in linux 
Shell :: awk match last occurrence 
Shell :: powershell check end of string 
Shell :: git branch specific files 
Shell :: install bind9 ubuntu 16.04 
Shell :: install docker-compose coreos 
Shell :: command prompt change directory to network drive 
Shell :: batch token in vault 
Shell :: install virtualenv ubuntu 18.04 stackoverflow 
Shell :: how to clear mouse marks in kubuntu 
Shell :: webmin depends on unzip; however: Package unzip is not installed. 
Shell :: raspberry pi start browser full screen 
Shell :: louisiana muskrat bounty 
Shell :: ubuntu auditd list of rules 
Shell :: bash commands inside Tcl 
Shell :: gst-plugin-scan 100 cpu 
Shell :: gitlab stale branches api script 
Shell :: web server not running due to lack of necessary permissions in linux nginx 
Shell :: disable assertions python 
Shell :: how to scp without one file type 
Shell :: show date on 24 hour format terminal 
Shell :: Another linux info 
Shell :: Private DNS EC2 BASH 
ADD CONTENT
Topic
Content
Source link
Name
1+7 =