파일 이름에 공백이 있을 경우에는 역스래쉬를 이용
cd hello\worlds/.
home directory = cd~
root directory = cd/ (시스템 최상위 directory).
curren directory = cd.
parents directory = cd..
sudo 권한을 줌으로써 파일을 만들수있다. (수정 불가).
chomd = 접근권한 여부.
exploer. = 현재폴터 windows 파일 관리자에서 보기
code . = 현재폴더를 VS code 에디터로 열기.
ls = list.
ls -a =
cd = change directory.
mkdir = make directory.
rm = remove file.
rmdir = remove directory if it is not an empty file.
pwd = print working directory ( prints out the current directory).
touch = make a new file or change and modify timestamps of a file.
cat = concatenate. (It reads data from the file and give their contents as output.
mv = move (moves one or more files or directories from one place to another). or change new file name
cp = copy (copy files or group of files or directory).
cp -r = copy folder (copy directory).
vi or vim = open with text file. ( Vi just stands for Visual, as in Visual Editor. Vim stands for Visual Improved, as in Visual Editor Improved.)
wq = write and quit
staging area = git add
commit = making snapshot
branching =
merging
repository
branch
clone(fork)
commit
pull/push
fork =내 계정으로 오픈소스 repository 를 통째로 가져온다(찍어서 가져온다).
clone = 가져온 오픈소스를 컴퓨터 repository 로 복사하여 가져온다.
git push origin master 하면 컴퓨터에서 작업한 코드가 remote repositry로 최신화 시킨다.
git pull origin master 하면 변경된 remote repository 가 컴퓨터로 최신화된다.