I want to create local branches for all existing remotes except master one.
I am new to git so any help is appreciated.
Thanks
I want to create local branches for all existing remotes except master one.
I am new to git so any help is appreciated.
Thanks
If you are using git command-line, then first use this command
git fetch
then you can switch to what ever branch you need like
git checkout <branch-name>
To know branch-names on remote, use this (list of remote branches)
git branch -v -r
You can directly create a branch with checkout command using -b:
git checkout -b <branch-name>