How to clean a project to upload to my github?
How to clean a project to upload to my github?
Hi guys, I'm trying to figure out a way to clean out any unessential files so that I can just push my project to git hub so that anybody who downloads it can just let their VS fill in the rest.
Is it just a matter of looking over Chili's framework on github and removing anything that's not it there or are there files on that repo that I can leave out?
Thanks!
Is it just a matter of looking over Chili's framework on github and removing anything that's not it there or are there files on that repo that I can leave out?
Thanks!
Re: How to clean a project to upload to my github?
I suppose you could do as instructed here
http://forum.planetchili.net/viewtopic.php?f=3&t=2
http://forum.planetchili.net/viewtopic.php?f=3&t=2
Curiosity killed the cat, satisfaction brought him back
-
- Posts: 4373
- Joined: February 28th, 2013, 3:23 am
- Location: Oklahoma, United States
Re: How to clean a project to upload to my github?
Actually, it might be easier than that, when you asked about it, I thought you meant to put in Zip file. Use the .ignore file to have Git ignore files, file extensions or even folders ignore them. Git won't track or sync ignored items.
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com
Re: How to clean a project to upload to my github?
All well and good, but which files do I ignore?
Re: How to clean a project to upload to my github?
for any git repo I recommend using .gitignore file. For example in Git Extensions program you even have an option to generate a default .gitignore file that will make it ignore vcxproj files and the Debug and Release folders, etc. so you only sync the source files. (That program is my love and makes everything easier when you actually don't have to use bash shell for manipulating git through SSH )
These are the default ignores of Git Extensions you can put into .gitignore
These are the default ignores of Git Extensions you can put into .gitignore
Code: Select all
#ignore thumbnails created by windows
Thumbs.db
#Ignore files build by Visual Studio
*.obj
*.exe
*.pdb
*.user
*.aps
*.pch
*.vspscc
*_i.c
*_p.c
*.ncb
*.suo
*.tlb
*.tlh
*.bak
*.cache
*.ilk
*.log
[Bb]in
[Dd]ebug*/
*.lib
*.sbr
obj/
[Rr]elease*/
_ReSharper*/
[Tt]est[Rr]esult*
Many noodles, one sauce.
'Programming rules: #1 - Everything is just a fucking number.' Chili, 2012
Mainly Discord procrastinator
'Programming rules: #1 - Everything is just a fucking number.' Chili, 2012
Mainly Discord procrastinator
Re: How to clean a project to upload to my github?
Visual Studio will auto setup a gitignore and ignore most stuff you don't want up there. If you create your local repo from within VS you should be good to go.
Chili
-
- Posts: 4373
- Joined: February 28th, 2013, 3:23 am
- Location: Oklahoma, United States
Re: How to clean a project to upload to my github?
Sometimes, it gets stupid and adds the .db file and .sdf file.
@FinalL, .gitignore...yeah that's what I meant.
@FinalL, .gitignore...yeah that's what I meant.
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com