pianobad.blogg.se

Kotlin android example github
Kotlin android example github









kotlin android example github kotlin android example github

The first step I did, I write a script named pre-push (without. So if we want to do something ( as my plan is to intercept before push, so we will focus on pre-push). sample extension is work as a template and it can be override. sample, for example : applypatch-msg.sample post-update.sample pre-commit.sample pre-push.sample pre-receive.sample update.sample commit-msg.sample pre-applypatch.sample pre-rebase.sample prepare-commit-msg.sample If we proceed to look inside of it, it will contain several of Git lifecycle which ended with. And inside of this folder will contain several Git properties and one of it is a directory named hooks (.git/hooks). git (it will showed up when you run ls -al on your root project directory). So when we work with Git repo, in our project will have a directory named. Sometimes member of the team forget to run it, and as a result I have to put several comment on their merge request which can be prevented before it raised. So I decide to put filter before they push their code into their feature branch using Git hooks.Īs i mentioned before on my story, we use Kotlin Detekt as static code analyser ( here) on gradle task. Lately on Android apps development in my team sometimes forget to check their code before push or raise merge request into protected branch.











Kotlin android example github