jeffalo / ocular

forum search for scratch
https://ocular.jeffalo.net
52 stars 27 forks source link

Error on `git push` #144

Closed hello-smile6 closed 2 years ago

hello-smile6 commented 2 years ago
> git check-ignore -v -z --stdin
remote: Permission to jeffalo/ocular.git denied to hello-smile6.
fatal: unable to access 'https://github.com/jeffalo/ocular.git/': The requested URL returned error: 403
> git config --local branch.main.github-pr-owner-number
webdev03 commented 2 years ago

You need to fork the repository and make a PR

hello-smile6 commented 2 years ago

You need to fork the repository and make a PR

Okay

hello-smile6 commented 2 years ago

You need to fork the repository and make a PR

WHY?

$ git fork https://github.com/jeffalo/ocular.git
git: 'fork' is not a git command. See 'git --help'.

The most similar command is
        fsck

Does it want me to do git f***?

webdev03 commented 2 years ago

You have a fork (#142) you need to clone that and do your changes.

hello-smile6 commented 2 years ago

You have a fork (#142) you need to clone that and do your changes.

Figured it out on my own.


hello-smile6@localhost MINGW64 ~/git/ocular (main)
$ git remote add hello-smile6 https://github.com/hello-smile6/ocular.git

hello-smile6@localhost MINGW64 ~/git/ocular (main)
$ git push hello-smile6 
info: please complete authentication in your browser...
Enumerating objects: 6, done.
Counting objects: 100% (6/6), done.    
Delta compression using up to 4 threads
Compressing objects: 100% (5/5), done. 
Writing objects: 100% (5/5), 810 bytes | 202.00 KiB/s, done.
Total 5 (delta 1), reused 0 (delta 0), pack-reused 0        
remote: Resolving deltas: 100% (1/1), completed with 1 local object.
To https://github.com/hello-smile6/ocular.git
   1744dda..e80d0e9  main -> main
cobaltt7 commented 2 years ago

Close issue?

hello-smile6 commented 2 years ago

Close issue?

Not sure. Should I?

cobaltt7 commented 2 years ago

This has nothing to do with Ocular, this is just you not knowing how to use Git.