Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Chapter_14.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ I'll show you how to undo the last commit and remove the code changes in _PetMas

[source, html]
----
git reset HEAD
git reset HEAD~1
----

The _reset_ command will undo the last commit and will open a text editor containing the description of this reverted commit, which can look as follows:
Expand Down Expand Up @@ -335,9 +335,9 @@ NOTE: You can find more detailed explanations of all Git features in the free bo

If you have a shared Git repository on a remote computer, you'll need to synchronize with it the content from your local Git repository. Usually I do it several times a day. Even if you work on the project alone, you may want to have a current copy of your Git repository in the remote computer.

https://github.com/[GitHub] is a Web-based Git repository hosting service, where you can create a shared code repository free of charge as long as you don't mind keeping your code open to the public. People or organizations that want to create private repositories on GitHub can purchase a paid account. But we have nothing to hide. Moreover, programmers who have their code published on GitHub are treated with additional respect.
https://github.com/[GitHub] is a Web-based Git repository hosting service, where you can create a shared code repository free of charge as long as you don't mind keeping your code open to the public. As of this writing private GitHub accounts are also free. But we have nothing to hide. Moreover, programmers who have their code published on GitHub are treated with additional respect.

NOTE: GitHub is not the only hosting service for Git repositories on the Web. https://bitbucket.org/[Bitbucket] is yet another popular place for storing public and private Git repositories.
NOTE: GitHub is not the only hosting service for Git repositories on the Web. https://bitbucket.org/[Bitbucket] and https://about.gitlab.com/[GitLab] are two popular alternatives to GitHub for storing public and private Git repositories.

==== Creating a GitHub Repository

Expand Down