Git Tutorial: How to Easily Exclude Files During Git Add without Manual Entryby@kodewithchirag
391 reads

Git Tutorial: How to Easily Exclude Files During Git Add without Manual Entry

tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

Too Long; Didn't Read

The git add command can be used to add changes to the index for new commits. If you have done changes to under 13 files and wanted to exclude only 3 files from those, that means 10 files need to be added with git add. Instead of passing 10 files paths, I could just pass 3 files path. It's like a **NOT (!) operator** under the git add path option. It can be possible to exclude specific files during the command execution of this command (not with.gitignore)

Company Mentioned

Mention Thumbnail
featured image - Git Tutorial: How to Easily Exclude Files During Git Add without Manual Entry
Kode with Chirag HackerNoon profile picture

@kodewithchirag

Kode with Chirag


Receive Stories from @kodewithchirag

react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa