Visitar URL original
Deleted duplicated paragraph by Darnokiv · Pull Request #902 · python/devguide · GitHub
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
Prev Previous commit
Corrected "git add -p"
Corrected a mistake with "git add -p" and added the normal "git add" command again

Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
  • Loading branch information
Darnokiv and ezio-melotti authored Jun 19, 2022
commit 4a52cc2d005f245ff7c0d55bf5d3322428564706
3 changes: 2 additions & 1 deletion 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 -p <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