तो, थोड़ी सोच के बाद मैंने निम्नलिखित लिखा है:क्या .gitignore मुझे QT परियोजनाओं के साथ उपयोग करना चाहिए? (क्यूटी निर्माता)
# In repository we don't need to have: # Compiled object files *.o # Generated MOC, resource and UI files moc_*.cpp qrc_*.cpp ui_*.h # Debug and Release directories (created under Windows, not Linux) Debug/ Release/ # .log files (usually created by QtTest - thanks to VestniK) *.log # Built windows .exe and linux binaries # NOTE: PROJECT is a your project's name, analog of PROJECT.exe in Linux *.exe *.dll PROJECT # Windows-specific files Thumbs.db desktop.ini # Mac-specific things (thanks to Michael Aaron Safyan) .DS_Store # Editors temporary files *~
कृपया पूछें, क्या जोड़ा जाना चाहिए या तय किया जाना चाहिए (विशेष रूप से विंडोज़ के लिए - मेरे पास अब एक हाथ नहीं है। और मैक भी [नहीं है इसमें बिल्कुल काम करें])।
मैं अपने भंडार को स्पष्ट रखना चाहता हूं :-)
UPD: क्या मुझे इसमें Makefile
और Makefile.*
शामिल करना चाहिए? *.pro.user
?
व्यक्तिगत रूप से, मुझे लगता है कि किसी जेनरेट की गई फ़ाइल को शामिल किया जाना चाहिए, जिसमें सभी मेकफ़ाइल शामिल होंगे। –