Skip to content

bokchan/git-bok

Folders and files

NameName
Last commit message
Last commit date
Dec 17, 2017
Jan 5, 2020
Dec 17, 2017
Oct 24, 2018

Repository files navigation

Github scripts for everyday workflows

The project is a collection of scripts to help automate github workflows.

They are idiosyncratic with respect to the tasks I do in my daily work.

Use Differential diffs for PRs

Use case:

Your PR has been reviewed by your colleagues and you want to push the new changes to origin. To keep the commits clean you squash the new changes with the existing commits before pushing. The script allows you show the new changes, to the reviewers while keeping the commits clean.

git-bok_diff_patch_cmd -P -c 123

There is no installer, so simply download the scripts, make them executable and add them to your PATH.

Dependencies

  • git >= 1.7.7 (if you use Ubuntu you can easily get the latest Git version using the Git stable PPA)
  • xclip
  • git-hub