Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

show all branch git

git branch -r
# origin/main
# origin/feature1
# origin/debug2
# remote-repo/main
# remote-repo/other-feature
Comment

get all branches git

$ git branch -a. If you require only listing the remote branches from Git Bash then use this command:
$ git branch -r. You may also use the show-branch command for seeing the branches and their commits as follows:
$ git show-branch.
Comment

git check all branches and current branch

// Check all branches and current branch 
git branch
Comment

git get all branches and code

git checkout --detach
git fetch origin '+refs/heads/*:refs/heads/*'
Comment

PREVIOUS NEXT
Code Example
Shell :: compress with tar.gz ubuntu 
Shell :: zsh syntax highlighting plugin 
Shell :: untar .tar file 
Shell :: apache .htaccess Option ubuntu 
Shell :: dockerfile prevent exit 
Shell :: firebase deploy command 
Shell :: sudoless docker 
Shell :: Package "ngx-mask" has an incompatible peer dependency to "@angular/common" 
Shell :: install sanity global cli 
Shell :: linux ls order by size 
Shell :: pyqt5 designer download 
Shell :: install pip3.9 
Shell :: how to turn off windows license will expire soon 
Shell :: open local files wsl 
Shell :: npm install Unable to authenticate, need: Bearer authorization_uri 
Shell :: why is gitlens not working on vscode 
Shell :: add directory to path windows 10 
Shell :: apt install only update 
Shell :: update dart 
Shell :: Start Xampp Mysql In Ubantu 
Shell :: change size apache 
Shell :: remove staged files git 
Shell :: how to isnatll snap on ubuntu linux 
Shell :: usb sound card not working ubuntu 
Shell :: install makerbundle sur symfony 3.4 
Shell :: how to install chocolatey on windows 10 
Shell :: Printing 1-100 in Bash (3 ways) 
Shell :: jq install bash 
Shell :: redis show all keys 
Shell :: docker access denied 
ADD CONTENT
Topic
Content
Source link
Name
9+9 =