---
title: "008"
description: "compare _ branch to _ with ** cli"
date: 2020-06-07
published: false
tags:
  - git
template: hot-tip
---

compare _feature_ branch to _main_ with **git** cli

``` bash
git diff main..feature
```
