Answer the question
In order to leave comments, you need to log in
How to change the tab size when adding files to github?
When adding code to Github. It automatically replaces the tabs with 8.
If you click edit and select a size of 4, then the code will look like in the IDE.
In general, is there a way to solve this problem, namely when sending the code, not on the github site?
Answer the question
In order to leave comments, you need to log in
I'm not sure if I understood you correctly, but you may be interested in the ".editorconfig" file, setting:
indent_style = tab
indent_size = 4
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question