Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to see branches git cmd

git branch #To see local branches, run this command
git branch -r #To see remote branches, run this command
git branch -a #To see all local and remote branches, run this command
Comment

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

show list of branches git

git branch -a // list of 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 :: pip install requirements.txt without cache 
Shell :: check directory size linux 
Shell :: sudo apt install microsoft-edge-dev 
Shell :: uninstall edb postgres mac 
Shell :: find out current shell 
Shell :: restart network service ubuntu command line 
Shell :: get username linux 
Shell :: uninstall tesseract 4 
Shell :: apply stash 
Shell :: kill screen ubuntu 
Shell :: how to check installed packages in linux command 
Shell :: create tar file appwrite 
Shell :: lua to tns 
Shell :: arch linux select java version 
Shell :: how to fix network issues on ubuntu 
Shell :: replace text with sed 
Shell :: install package from conda forge not found in conda 
Shell :: convert pem to crt 
Shell :: How do I get my drive letters back? 
Shell :: gitignore template eclipse 
Shell :: how to check bash runs with sudo 
Shell :: linux dir one line 
Shell :: check memory speed 
Shell :: bash randomly shuffle all rows of a file 
Shell :: android sha1 generate 
Shell :: convert biom to tsv 
Shell :: update all snap packages 
Shell :: install jq in windows 
Shell :: ubuntu change jdk 
Shell :: add onedrive to ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
8+3 =