I don't understand how to git add two files together


#1

so, I dont understand how to git add two files together. theres someone that can help me?


#2

Do you mean stage two files with one command?

git add <file1> <file2>

If you mean concatenating them together, then you would probably use cat, not git:

cat <file1> <file2> > <outputfile>