I know I can just do git add for all the files, but I got a ton of files. Is there a way to do something like “git add *.h”, or “git add *.py” ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes you can say
git add *.pyMake sure you have done git init before doing this.
To add all files in a folder you can simply say
git add .