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 :: postgres setup Linux Debian 
Shell :: how to push newly created branch in git bash 
Shell :: install brave on linux 
Shell :: terminal get size of file 
Shell :: how to install lvm2 on ubuntu 
Shell :: rm directory not empty mac 
Shell :: pip problem linux 
Shell :: install elasticsearch 
Shell :: install axios 
Shell :: install net tools in manjaro 
Shell :: centos set permissions on folder recursively 
Shell :: ssh scp 
Shell :: WSL connect docker daemon to docker for windows 
Shell :: list user groups linux 
Shell :: bash minimize window 
Shell :: bash 
Shell :: mac address in linux 
Shell :: HOW TO SEARCH FOR A FILE IN COMMAND PROMPT 
Shell :: run a command with sudo su 
Shell :: pytorch 
Shell :: grep exclude file extension 
Shell :: node global install 
Shell :: install spotify-web-api-js 
Shell :: linux how to move file to another directory 
Shell :: installation of genymotion on ubuntu 
Shell :: powershell git 
Shell :: como atualizar a versão do angular 
Shell :: # /bin/bash for launching ec2 
Shell :: conda install python image library 
Shell :: install tar.xz in ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
9+5 =