From 3db971caac7a9c2d8abc0d69ebe7c7581e67bb72 Mon Sep 17 00:00:00 2001 From: Wilfried OLLIVIER Date: Tue, 5 Dec 2017 11:48:27 +0100 Subject: [PATCH] Add git rev parse to xclip --- src/dev/tools/git.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/dev/tools/git.md b/src/dev/tools/git.md index 5b58121..af88e81 100644 --- a/src/dev/tools/git.md +++ b/src/dev/tools/git.md @@ -19,3 +19,10 @@ git checkout --track -b gniagnia origin/develop ```shell git commit --ammend --no-edit ``` + + +## Copy current HEAD sha sum to clipboard + +```shell +git rev-parse HEAD | xclip +```