Hello.

Did you set up any remotes for the folder that you are trying to push?

On Monday, 17 October 2022 at 13:16:12 UTC+2 princ...@gmail.com wrote:

> Hi,
> I am trying to run example provided here(
> https://github.com/go-git/go-git/tree/master/_examples)
>
> 1) firstly I run the clone example by cloning a repo(
> https://github.com/go-git/go-git/blob/master/_examples/clone/auth/basic/access_token/main.go).
>  
> (it was successful)
>
> 2) Then I run the commit example by creating a file.(
> https://github.com/go-git/go-git/blob/master/_examples/commit/main.go) it 
> was successful.
>
> 3) Now I want to push that file to git repo. but I am not able to 
> understand what argument i should give along with the go executable file.(
> https://github.com/go-git/go-git/blob/master/_examples/push/main.go)
> I tried by executing the following commands
>   
> *./push/main github_repo_url*
> but it says repository does not exist.
>
>
>
>
> Can anyone please help me this.
> Thank you.
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/38e07712-0bd4-4e7b-81d8-2d66ca25015an%40googlegroups.com.

Reply via email to