Contenido del Curso
GitHub Fundamentals
GitHub Fundamentals
Pushing Changes
Push Attempt
In the previous chapter, we modified the README
file and committed the changes locally. Let's now send these changes to our remote repository. In a basic scenario like this, a simple git push
command is sufficient:
Oops, something went wrong and authentication failed. Let's try again:
As you can see, even after entering the username and password for the GitHub account, authentication still failed. The error message indicates that GitHub has discontinued password authentication for operations on repositories.
Personal Access Token
Instead of passwords, GitHub now requires the use of more secure methods like personal access tokens.
Let's now create one by following the instructions in the video below:
Once you've copied and written down your token, let's try pushing the changes again. Now, you should enter the token instead of your password.
Congratulations on your first successful push to the remote repository!
¡Gracias por tus comentarios!