Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

I want to add a new folder to my newly created GitHub repository without installing the windows setup. Is it possible to do so? I have gone through help which is saying to execute some commands to create a folder but I don't know where to write those commands.

I can't install a Windows setup because my office PC is restricted.

I know how to add files using the web app interface but not folders.

share|improve this question
    
How did you create your repository then? What software do you use to manage git? Normally, creating a new folder within your repository is as easy as creating a new folder in the Windows Explorer, then doing a commit. –  chrki Dec 8 '12 at 11:41
1  
I'm sorry it's a bit complicated, you are trying to manage a git repository without having git actually installed? For simply editing files and making new folders you don't need it to be installed, though. But those changes will not be synched to the repository (say, on Github) until you commit it (with some sort of git client) –  chrki Dec 8 '12 at 11:48
1  
@user1781026 nah!! not that.. I am asking How to add a new folder on the web browser (github account) not on computer. –  Mr_Green Dec 8 '12 at 11:59
2  
Talk to your office admin about changing your PC setup, you should not be managing your repos in the front end. The new add file feature is nifty but it's not meant currently to be the way to manage your files. –  phwd Dec 8 '12 at 14:51
1  
@phwd so It is not possible to create a folder on web interface.. right? –  Mr_Green Dec 11 '12 at 6:05
show 5 more comments

1 Answer

up vote 15 down vote accepted

It is possible to create a new folder from the web interface, but it would require you to have at least one file within the folder when creating it.

When using the normal way of creating new files through the web interface, you can type in the folder into the file name to create the file within that new directory.

E.g. If I would like to create the file filename.md in a series of subfolders, I can do this (taken from the GitHub Blog): With credits to GitHub

share|improve this answer
    
Very simple. never thought it is so simple. Thanks :) –  Mr_Green Mar 17 '13 at 15:41
    
So simple I couldn't think about it :-) –  Juh_ Feb 12 at 9:31
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.