Skip to content

Instantly share code, notes, and snippets.

@borekb
Last active April 26, 2020 20:07
Show Gist options
  • Save borekb/47ff1ebca7ee837eca4e232b2f091e2f to your computer and use it in GitHub Desktop.
Save borekb/47ff1ebca7ee837eca4e232b2f091e2f to your computer and use it in GitHub Desktop.
cmder `clink.lua` to show number of commits to push. See comment below for description.
@borekb
Copy link
Author

borekb commented Nov 6, 2016

Adds number of commits that the branch is ahead of origin, something like:

image

There is an assumption that the remote is origin. Also, this is my first attempt at Lua, some things are probably wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment