--dry-run
Do everything except actually send the updates. (git push --dry-run)
예를 들어,
# 현재 branch가 feature/hero 라면
> git push --dry-run
# 아래는 결과가 나옴
To github.com:myRepo/myProject.git
* [new branch] feature/hero -> feature/hero # feature/hero remote 브랜치로 올라갈 것임을 알려준다.
실제로 실행은 되지 않으면서, 실행되었을 때 어떻게 되는것인가를 보여준다.
--dry-run option은 git push 이외에도 사용이 가능하다. (자세한건 git documentation을 참고하자)