github - how to move a file up the hierarchy in git? -


i'm trying move index.html file app/pages/index.html root of directory. have (mv app/pages/index.html) far, i'm not sure enter next point root of repo. explained right... thanks.

repo snapshot

you mv app/pages/index.html . works because . refers current directory. however, want git mv app/pages/index.html . instead, git automatically knows new file location.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -