drewdeponte / git-ps

Patch Stack workflow CLI extension for Git
MIT License
50 stars 4 forks source link

Add sha logging for review branch #24

Closed RyanHedges closed 4 years ago

RyanHedges commented 4 years ago

I did this because I'd often have to go to github to see what sha the branch was made on so I could use it in packages in swift. This saves me a step and prints out the sha for the branch that was just checked out.

[changelog] added: logging for the request review branch sha-1

ps-id: E8E4C2E4-FEEF-46D5-A68C-8F6EEFB029E2

Testing

Switch to HEAD

use branchname

Move the print

Move it to existing log

RyanHedges commented 4 years ago

changed it to use new git rev-parse