github api - Is it possible to create a PushEvent with more than one commit? -


i'm using code snippet create commits via github api using go-github, , it's not working planned.

i'm trying create single push event contains 26 commits, instead it's creating 26 push events, each of contains single commit. if you're wondering "why?", it's because i'm trying recreate particular scenario validate behavior.

is limitation due "connected/online" nature of github api? need have local github repo checkout , commits , pushes via "git commit" , "git push"? (either cli or libgit bindings)


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -