Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git rename master to main

$ git branch -m master main
Comment

rename master to main

# Renaming the Local master Branch to main
git branch -m master main

# Renaming the Remote master Branch as Well
git push -u origin main
# !! Set default branch to main
git push origin --delete master
Comment

rename master to main

// must already have added somethign to HEAD
$ git branch -m master main
Comment

PREVIOUS NEXT
Code Example
Shell :: linux list files in directory 
Shell :: install git on windows 10 
Shell :: add stetho plugin ionic 
Shell :: git clone bare 
Shell :: almalinux helm 
Shell :: Não foi possível encontrar o pacote youtube-to-mp3 
Shell :: how to specify version in npm install 
Shell :: Does Ubuntu use deb or rpm? 
Shell :: copy all in a folder here command terminal 
Shell :: git download a new branch 
Shell :: create new git branch from existing branch 
Shell :: ubuntu undelete a whole directory 
Shell :: how to update local repo when i make changes to github remote repo 
Shell :: how to install bwa in ubuntu 
Shell :: ssh only key 
Shell :: vue 3 qr code reader 
Shell :: cannot find module inquirer 
Shell :: salir de vim 
Shell :: regex for url in bash 
Shell :: jupyter lab download 
Shell :: github merge 
Shell :: pycharm 2021.1 linux crack 
Shell :: razer synapse for linux 
Shell :: kubernetes command kubectl 
Shell :: babel json loader 
Shell :: cat: /var/jenkins_home/secrets/initialAdminPassword: No such file or directory 
Shell :: new screen linux 
Shell :: how to use git in terminal 
Shell :: awk split each character 
Shell :: powershell open folder 
ADD CONTENT
Topic
Content
Source link
Name
9+6 =