How can I modify the folder name inside the zip downloaded from my github repo? -


the folder name of zip downloaded github %repository-name%-master, need folder %repository-name%

can done?

you cannot modify name of root directory contained in archive github.

even when download master:

wget https://github.com/user/repo/tarball/master 

you file named 'master', but:

tar xpvf master 

the tar xpvf give repo-xxxx directory.
follow with:

mv repo-* repo 

Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -