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 :: how do i get buster and gnome chromebook 
Shell :: dockerd failed to start daemon: failed to get temp dir to generate runtime scripts 
Shell :: install spectral pytohn 
Shell :: create a tag locally 
Shell :: merge branch from another repo 
Shell :: github url not showing 
Shell :: git borrar rama local y remote 
Shell :: oracle vm cannot install guest edition windows 10 enterprise 
Shell :: pipeline remove all bin obj project 
Shell :: how to check the difference between the staging area and commit 
Shell :: wget -O /etc/enigma2/iptv.sh 
Shell :: how to open pg_hba.conf file in ubuntu using visual studio 
Shell :: install rosserial_python 
Shell :: ispconfig auto installer 
Shell :: like idm for linux 
Shell :: ubuntu restart network manager when ping is low 
Shell :: qusar framework install jest 
Shell :: git bash authentication failed not asking for password 
Shell :: git rm branch no remotes 
Shell :: remove file kali linux 
Shell :: how to upgrade .rpm file in linux 
Shell :: Ubuntu software in 22.04 store does not use system theme 
Shell :: pip3 or pip? 
Shell :: how to install tar.xz file in ubuntu 
Shell :: cmake install files 
Shell :: run complex commands with sudo 
Shell :: How to Install and Configure doctl on Ubuntu 
Shell :: bash find path of current script 
Shell :: msysgit display end 
Shell :: bash store directory list array 
ADD CONTENT
Topic
Content
Source link
Name
6+4 =