Last Updated: February 25, 2016
· hisyam

Change tab size on GitHub

If you use tabs to indent your code in your editor and push the code to Github, you might notice that your tab appears as 8 spaces.

According to stackoverflow contributors here, you can change the tab size by clicking edit on the file itself and change the indentation configuration.

Another alternative to this is to use spaces instead of tabs inside your editor.