So I recently created a GitHub account. Among other things a problem that I seem to have it tabs. When you are creating a new folder in repository, Github hasthe following options:
The problem I seem to be having is that when I set the following values:
tabs4When I save that file it is automatically set to tabs and 8
What is going on here?
Why is indent size getting set to 8 even when I specifically set it to 4?
The default tab size in GitHub is set to 8.
You can achieve indentation by using selecting indent mode as spaces and setting it to 4 or whatever you want.
To check the file on GitHub with different indentation you can append ?ts=2 or ?ts=4 to the URL to change the tab-size.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With