I took over the maintainership of a package, and I am only used to the process of actually committing a new package.
In case my issue is obvious, please be patient. Honestly, this looks just like the typical confusion, that comes inherent with git, and I hope you can enlighten me:
The problem is you followed the steps for creating a new AUR package. When you take over an existing AUR package, you donβt do any of those things since there is already an existing repo.
To fix this:
Remove the existing local directory
Clone the repo locally using the ssh url
Make the changes and commit them
Push the repo
Taking over a package is much simpler than creating a new one.
Itβs actually dynamic and statically typed. They advertise it mainly as a dynamic language, but you can utilize many statically typed features. I recommend this talk about it: