mirror of https://github.com/0Nera/BMOSP.git
Добавлены вспомогательные информационные утилиты GIT
This commit is contained in:
parent
4500aa6869
commit
18c2d9f67e
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
echo $(git log --pretty=format:%s ${LAST}..HEAD | grep ':' | sed -re 's/([^:]*)\:/- \`\1\`\:/' | sort)
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
VERSION=`git rev-parse --short HEAD`
|
||||
|
||||
X=$(git status -s | grep -q '^.M')
|
||||
if [ $? -eq 0 ]; then
|
||||
VERSION="$VERSION"
|
||||
fi
|
||||
|
||||
echo -n $VERSION
|
Loading…
Reference in New Issue