- commit
- edd062dd26512114019353435b539ddac83d4def
- parent
- 2853078c42575f80bfaff4cf407e935656c5e39f
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2022-03-07 16:00
add post checkout script
Diffstat
| A | post-checkout | 8 | ++++++++ |
1 files changed, 8 insertions, 0 deletions
diff --git a/post-checkout b/post-checkout
@@ -0,0 +1,8 @@ -1 1 #!/bin/sh -1 2 -1 3 if [ x"$3" = x"1" ]; then -1 4 branch=$(git name-rev --name-only $1) -1 5 if [ x"$branch" != x"main" ]; then -1 6 timelog $branch -1 7 fi -1 8 fi