Git patches as a 'private branch' alternative
You're git workflow is based on pull requests. You're working on a feature branch, and the feature is not finished. It smells bad. It looks bad. You future would be worse off if the project manager saw it. In 5 minutes you have to go home, and even if there was an option to push to a private branch, GitHub is under DDoS.
Git Patches to the rescue!
With git format-patch
you can generate a patch for each commit in the feature branch.
In my case it looked like this:
And after:
Written by Wojtek Ryrych
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
khasinski
591.1K
dmichaelavila
500.4K
Related Tags
#git
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#