Hi there,
I'm using something similar to https://github.com/google/go-github/blob/master/example/newrepo/main.go
to create a new repository.
All works well, I'm looking for a way when I'm creating a new repository add a readme.md and .gitignore file to it. something like what the GitHub web interface does when you create a new repository.
if somebody has done something similar or knows how can I achieve this I really appreciate it.
Thanks in advance!
Hi there,
I'm using something similar to https://github.com/google/go-github/blob/master/example/newrepo/main.go
to create a new repository.
All works well, I'm looking for a way when I'm creating a new repository add a
readme.mdand.gitignorefile to it. something like what the GitHub web interface does when you create a new repository.if somebody has done something similar or knows how can I achieve this I really appreciate it.
Thanks in advance!