공부하기전에 Git for Windows 다운 받기.. 원래 git이 있었지만 약간 다르다고 하여 기존 git을 지우고 다시 다운 이유 정확히 찾아보자
ghkst@DESKTOP-8SB8F5E MINGW64 ~
$ pwd
/c/Users/ghkst
ghkst@DESKTOP-8SB8F5E MINGW64 ~
$ ls
'3D Objects'/
AppData/
'Application Data'@
Contacts/
Cookies@
Documents/
ghkst@DESKTOP-8SB8F5E MINGW64 ~
$ cd Documents/
ghkst@DESKTOP-8SB8F5E MINGW64 ~/Documents
$ mkdir dev
ghkst@DESKTOP-8SB8F5E MINGW64 ~/Documents/dev
$ cd ..
ghkst@DESKTOP-8SB8F5E MINGW64 ~/Documents/dev
$ touch example.txt
ghkst@DESKTOP-8SB8F5E MINGW64 ~/Documents/dev
$ mkdir public
ghkst@DESKTOP-8SB8F5E MINGW64 ~/Documents/dev
$ ls
app.js example.txt index.html main.js public/ server.py style.css
ghkst@DESKTOP-8SB8F5E MINGW64 ~/Documents/dev
$ mv index.html public
ghkst@DESKTOP-8SB8F5E MINGW64 ~/Documents/dev
$ ls
app.js example.txt main.js public/ server.py style.css
ghkst@DESKTOP-8SB8F5E MINGW64 ~/Documents/dev/public
$ mv ../app.js .
ghkst@DESKTOP-8SB8F5E MINGW64 ~/Documents/dev/public
$ ls
app.js index.html
- 상위디렉토리에있는 app.js를 지금 현 public디렉토리로 이동하라.