Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git branch

git checkout -b <new-branch-name> # create a new branch
git switch <branch-name> # Switch branch
Comment

git branch command

git branch <branchname> 
(or)
git checkout -b <branchname>
Comment

git branch

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

Git Branches

The best way to learn about git flow is on the website:

https://stackoverflow.com/questions/47935457/when-to-create-release-branch-in-git-flow
Comment

git branch

git checkout -b <new-branch-name>
Comment

PREVIOUS NEXT
Code Example
Shell :: copy folder in ubuntu 
Shell :: batch fork bomb 
Shell :: bash script to clean up log files in /var/log 
Shell :: html2canvas 
Shell :: strapi run command 
Shell :: git create tag and push 
Shell :: install fira code ubuntu 
Shell :: append to a file from terminal 
Shell :: git log 
Shell :: generate github access token 
Shell :: install cocoapi 
Shell :: cypress install npm 
Shell :: ubuntu browser download manager 
Shell :: remove all branch local git 
Shell :: build docker file with no cache 
Shell :: unknown error after kill: runc did not terminate sucessfully: container_linux.go:392: signaling init process caused "permission denied" 
Shell :: redis install ubuntu 20.04 
Shell :: git add file without commit 
Shell :: ssh key 
Shell :: linux bash temporary file 
Shell :: tail last 100 lines 
Shell :: How to list manually installed packages in ubuntu 
Shell :: $$ in shell script 
Shell :: ignore file git 
Shell :: check if docker daemon is runing 
Shell :: install .net framework 3.5 from windows 
Shell :: git commit message editor vscode 
Shell :: debian mongodb 
Shell :: List all installed programs or desktop application 
Shell :: install drush on ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
7+3 =