Horje
how to change my default branch in git Code Example
how to change my default branch in git
'settings' >> 'Code and Automation' >> 'Branches' >> 'Default Branch'

On GitHub.com, navigate to the main page of the repository.
Under your repository name, click "Settings".
In the "Code and automation" section of the sidebar, click "Branches".
Under "Default branch", to the right of the default branch name, click.
Use the drop-down, then select a branch name.

source: 'https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-branches-in-your-repository/changing-the-default-branch#changing-the-default-branch'
Change default branch on git
git branch -m deploy prod
git fetch origin
git branch -u origin/prod prod
git remote set-head origin -a
Source: github.com




Shell

Related
npm ERR! Maximum call stack size exceeded ubuntu Code Example npm ERR! Maximum call stack size exceeded ubuntu Code Example
nvm update node Code Example nvm update node Code Example
fingerprint login disabled ubuntu 20.04 Code Example fingerprint login disabled ubuntu 20.04 Code Example
kali linux renew ip address Code Example kali linux renew ip address Code Example
install nvm ubuntu Code Example install nvm ubuntu Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
15