Skip to content
Snippets Groups Projects
Commit 53b130e2 authored by Illés Erzsébet Anna's avatar Illés Erzsébet Anna
Browse files

Hozzáadva a háziellenőrző szkript

parent 163eae71
Branches main
No related tags found
No related merge requests found
#!/bin/bash
# Klónozzuk a GitLab repót
git clone https://dev.itk.ppke.hu/bevtech-24251/tmeas.git
cd tmeas
# Állítsuk be az első branchet
branches=$(git branch -r | grep -v '\->' | sed 's/origin\///' | uniq)
for branch in $branches; do
git checkout $branch
todos=$(grep -ro "TODO" * | wc -l)
echo "$todos db TODO van az origin/$branch branchen"
done
# Visszatérés az eredeti könyvtárba és takarítás
cd ..
rm -rf tmeas
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment