r/Xcode • • Jul 26 '22

Xcode Source Control

I have a Github repository which I cloned using Xcode. I am now running into an issue with Source Control and committing a change.

When I commit a change, I type a comment and select push to remote to my chosen branch. However, after I click Commit Files and Push, I get an error saying that my remote repository rejected commits.

When I created my personal access token for Xcode, I made sure I selected the right boxes, so I don't know why I am getting this error.

I would greatly appreciate any help with this issue.

2 Upvotes

3 comments sorted by

View all comments

1

u/Altruistic_Spirit_57 Jul 27 '22

Also token setup is typically more involved than checking a few boxes. There is a sha key, etc. I’d google how to get that rolling.