paint-brush
Git Tutorial: How to Easily Exclude Files During Git Add without Manual Entryby@kodewithchirag
1,435 reads
1,435 reads

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

by Kode with Chirag2mNovember 18th, 2021
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

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
Kode with Chirag

Kode with Chirag

@kodewithchirag

Helping others simplify the web development journey by keeping things short.

Learn More
LEARN MORE ABOUT @KODEWITHCHIRAG'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Kode with Chirag HackerNoon profile picture
Kode with Chirag@kodewithchirag
Helping others simplify the web development journey by keeping things short.

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Also published here
Coffee-web
Learnrepo
Nitter