Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deleted duplicated paragraph #902

Merged
merged 2 commits into from
Jun 22, 2022
Merged
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
18 changes: 2 additions & 16 deletions gitbootcamp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,8 @@ Staging and Committing Files

2. To stage the files to be included in your commit::

git add <filename1> <filename2>
git add -p # to review and add changes to existing files
git add <filename1> <filename2> # to add new files

3. To commit the files that have been staged (done in step 2):

Expand Down Expand Up @@ -225,21 +226,6 @@ To re-apply the last stashed change::

git stash pop

.. _commit-changes:

Committing Changes
------------------

Add the files you want to commit::

git add <filename>

Commit the files:

.. code-block:: bash
git commit -m "<message>"
.. _diff-changes:

Comparing Changes
Expand Down