git add
git add
command is used to add changes from the working directory to the staging area.
git add
command :-
git add
, your changes won't be saved in the next commit β it only stages them, not commits.
git add
to stage new, modified or deleted files for the next commit.
git add
? git add aaa.txt
bbb.txt
file in staging area by command git add bbb.txt
git add
? git add filename.txt
git add file1.txt file2.txt
git add .
git add *.txt
git add *
Your feedback helps us grow! If there's anything we can fix or improve, please let us know.
Weβre here to make our tutorials better based on your thoughts and suggestions.