Development Flow Improvements

Peter Colberg peter at colberg.org
Fri Nov 25 00:23:03 CET 2016


Hi Jason,

Thanks for tagging the new release!

On Wed, Sep 28, 2016 at 01:27:38AM +0200, Jason A. Donenfeld wrote:
> zx2c4 at thinkpad ~/Projects/cgit $ git push
> Total 0 (delta 0), reused 0 (delta 0)
> To ssh://git.zx2c4.com/cgit
>   ff9893a..11695a5  master -> master

May I suggest a minor improvement to the work flow?

Before pushing to "master" you can simulate pushing for a final review:

# git push -n
# git log -p -c -M --stat --decorate --pretty=fuller ff9893a..11695a5

(I use a git alias "review" for the latter.)

This allows one to catch things like an accidental revert of a submodule.

Peter


More information about the CGit mailing list