A
A
Arbuzik3452020-09-24 03:52:12
GitHub
Arbuzik345, 2020-09-24 03:52:12

What projects to add to GitHub?

Hello. I have three questions about adding projects/codes to GitHub:
- Should I put codes in a separate repository called "learning" where I solve learning problems/exercises?
- how to lay out a project made on Qt? Is it just stupid to drop the entire project folder into the repository?
- is it worth uploading a ready-made folder with an exe without Qt, just to run the application?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
DevMan, 2020-09-24
@Arbuzik345

1. you decide.
if you think there is something to show, it's worth it.
If you think otherwise, don't. or use private repos.
2. you decide. usually only the files needed for the build are stored in the repo.
3. git is not the best place to store binaries. but you can.

V
Vladimir Korotenko, 2020-09-24
@firedragon

Github in particular, and Git in general, is a tool, not a number, so the following advice can be given:

- is it worth uploading codes to a separate repository called "educational" where I solve educational problems/exercises?
Of course, you do this primarily for yourself, in order to see the development of the project and your previous mistakes, or to see discarded ideas that may be needed later, without commenting on this code.
- how to lay out a project made on Qt? Is it just stupid to drop the entire project folder into the repository?

The IDE will help you, as a rule, there is very good integration there.
However, the git itself has .gitignore templates for many types of projects, look through them and modify them for yourself
- Is it worth uploading a ready-made folder with an exe without Qt, just to run the application?

It's not worth it, it's better not to put even data files and documentation there, let the binary files be stored somewhere outside, without inflating the volume of the repository.
For releases, as correctly noted, there is a special link, releases

D
Daniil Demidko, 2020-09-24
@Chronicler

- Is it worth uploading a ready-made folder with an exe without Qt, just to run the application?

To do this, the project on GitHub has a special Releases section where you can upload executable files. If you upload them to the code repository, it may issue warnings.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question