Skip to content
Merged
Changes from 1 commit
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
17 changes: 1 addition & 16 deletions gitbootcamp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ Staging and Committing Files

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

git add <filename1> <filename2>
git add -p <filename1> <filename2>

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

Expand Down Expand Up @@ -225,21 +225,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