0

I am new to git and so far I did not find a simple method of doing this.

I am trying to upload a folder to my remote repository but I don't want certain type of files to be uploaded. I need some guidance in terms of syntax and such to prevent those type of files from uploading.

Geo
  • 3,160
  • 6
  • 41
  • 82

1 Answers1

6

You can specify your file name in the .gitignore file.

Read about it in the following link:

http://git-scm.com/book/en/Git-Basics-Recording-Changes-to-the-Repository#Ignoring-Files

Eduardo Bautista
  • 1,340
  • 2
  • 10
  • 22
uday
  • 8,544
  • 4
  • 30
  • 54