I'm currently making commits and using branches in my remote Git repo. But, whenever I use:
git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
It just shows my commit history in a single line - no branches, despite branches being named 'origin/API', 'origin/dev' and 'origin/master'.
If you have a look at Showing Git branch structure (where I got the command from) the screenshot shows 'branches' and 'merges'
Can you guys help me? I wish to view my repo in a tree fashion (helps me visualise better) rather than a beanstalk...