Make Branch accessible after git fetch -


is there way make branch directly accessible after git fetch without git checkout <newbranch>?

if use git fetch command want see new branches directly in list shown after use e.g. git branch.

if "accessible" mean visible in list given git branch can use -a flag:

git branch -a 

it show branches including remote tracking ones.

so if added second_branch remote repository, before running git fetch might see:

%> git branch -a * master remotes/origin/master 

then after git fetch might see:

%> git branch -a * master remotes/origin/master remotes/origin/second_branch 

if want see remote tracking branches there's -r option.


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -