Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android Android Tools Using Git for Android Saving to a GitHub Repository

Git add question

if i use git add * I get the following error

$ git add * The following paths are ignored by one of your .gitignore files: build Use -f if you really want to add them. fatal: no files added

and if i use git add . i get the following error

$ git add . warning: LF will be replaced by CRLF in gradle/wrapper/gradle-wrapper.properties . The file will have its original line endings in your working directory. warning: LF will be replaced by CRLF in gradlew. The file will have its original line endings in your working directory.

1 Answer

Harry James
Harry James
14,780 Points

I guess the Git Basics course explains these a bit: http://teamtreehouse.com/library/git-basics (I have not yet started this course however, will do eventually!)

I did have the same warning as you when using "git add ." however, just ignored the warning.