DEV Community

Discussion on: 20 Git Commands Every Developer Should Know

Collapse
 
snowlyg profile image
snowlyg • Edited

I try git branch -r, Don't show all the local branches ,but show all the remote branches.

I check git docs , -r, --remotes is use for act on remote-tracking branches.

Collapse
 
krishnaagarwal profile image
Krishna Agarwal

Thanks
I'll add it.