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
Next Next commit
Deleted duplicated paragraph
Deleted the duplicated paragraph "Committing Changes" (already in the paragraph "Staging and Committing Files") and changed "git add" to "git add -p". All accordingly to #888
  • Loading branch information
Darnokiv authored Jun 18, 2022
commit db00798149e2800175f77d91f244dbc6beb22bb5
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>
Comment thread
Darnokiv marked this conversation as resolved.
Outdated

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