Alex Rivera | Logout

What files of my project should I put in repo

Asked 2011-11-03T12:47:51.137
9

I'm using Dev-C++ IDE for C programming.

I want to put my project in Github but I'd like to know which type of files should I put there. I mean, the project folder has .o, .layout, .dev (dev-C++ project file), .exe along with source files .c and .h .mkv (make file)

so, which files I should put. If I shouldn't put those file, how should I manage them. I mean my .git file is stored there.. so, when ever there are some files.. it keeps showing me them which are not updated/pushed..

Edit
Report

1 Answer

4

Usually we put Sourcecode and resources in the repository. OBJ- and BIN-Files should not be put there as they only produce conflicts.

Simple Rule: Don't put files in the repository which are generated dynamicly by your IDE

or in other words:

When you throw away your computer and buy a new one: Which files do you need to continue work?

answered 2011-11-03T12:53:14.250

Your Answer