Joined July 2014
·

Guillaume Luchet

Php, Python Developer
·
Grenoble (France)
·
·
·

I recently searched how to do that and I found an answer from the github help: https://help.github.com/articles/splitting-a-subfolder-out-into-a-new-repository

Posted to Switch off over 1 year ago

I prefer doing that way

var langs = {
    'javascript': 'JS',
    'ruby': 'RB',
    'c#': 'CS',
    'cpp': 'CPP',
};
var out = langs[lang.toLowerCase()] || 'CPP';
Achievements
9 Karma
163 Total ProTip Views