git - Move files & folders in github -


i need set github school project im getting lost in complicated workings of it.

i managed push contents of folder repository since need add other files , want keep structure want take current files & folder have , move them new directory.

for example, want change following:

master   folder x   folder y   file z 

to

master   project 1     folder x     folder y     file z 

how do exactly? i've found similar posts similar explanations never understood of them.. please explain in easy fashion? because i've been trying without success 2 hours now.

move files want in local folder

and after commit changes in git bash:

git add "project 1" git commit -am "change folders layout" 

and push changes:

git push 

Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -