Skip to content
Discussion options

You must be logged in to vote

I solved it by removing auth with git credentials.

  1. git credential-osxkeychain erase ( I don't remember this was the one that i used to erase credentials )
  2. gh auth login --withtoken-token <<<"$YOUR_TOKEN"
  3. git add .
  4. git commit -m "your message"
  5. git push origin main
  6. It asks for your password but IT IS NOT YOUR GITHUB PASSWORD!! IT ASKS FOR YOUR TOKEN. ENTER YOUR TOKEN!!
  7. Push successful.

Why i used this to push new files to ios:
I am trying to enable push notifications from Capabilities. If you don't have MacOS you need to follow these steps:

  1. Enable VNC/SSH
  2. Connect with RealVNC Viewer
  3. Open terminal cd clone
  4. cd ios
  5. open Runner.xcodeproj - this will open up xcode.
  6. Then click Runner and add n…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by yusufceyhun
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant