mcfly soft
mcfly soft

Reputation: 11655

how to upload (commit) my first project to git hub from xcode

I started commiting my project to github.

For that I created an account in github with email and password.

Then on the console I did inital stuff:

-> I did not commit (stopped without comment), because I expected to enter a password.

In Xcode I committed one file for testing, but I was supriced why I was not asked for a password. In the logs I see that it was published with a user, that I don't know : [email protected]

So I don't know where the file is published now for public !

Then I changed my name and email as follow:

But still I don't have to provide a password and I guess it is not working properly with my account.

Can anyone help me out ?

Upvotes: 0

Views: 213

Answers (1)

Kristján
Kristján

Reputation: 18813

Getting code onto GitHub has two main steps:

  • git commit your changes
  • git push to GitHub

Nothing's asking you for a password when you commit, because that's still totally local to your machine. Only when you push will you need to authenticate with GitHub.

Check out these guides to help you get started:

Upvotes: 1

Related Questions