This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
|
#!/bin/sh
|
|
|
|
TMPFILE=$(tempfile -p clip. -s -gitlastcommit)
|
|
|
|
(echo "<pre>"
|
|
git lastcommit
|
|
echo ""
|
|
echo "</pre>"
|
|
echo "") > $TMPFILE
|
|
|
|
cat $TMPFILE | xclip
|
|
|
|
echo ""
|
|
cat $TMPFILE
|
|
|
|
rm -f $TMPFILE
|