[1] bandit29@bandit:~$ ls -al
파일을 확임함
bandit29@bandit:~$ mkdir /tmp/band30
bandit29@bandit:~$ cd /tmp/band30
bandit29@bandit/tmp/band30$ ls -al
파일 확인 특별한게 없다.
[2] bandit29@bandit/tmp/band30$ git clone ssh://bandit29-git@lcoalhost:2220/hom/bandit29-git /repo
[3] Yes
[4] bandit29@bandit/tmp/band30$ ls -al
repo 파일 확인
[5] bandit29@bandit/tmp/band30$ cd repo
[6] bandit29@bandit/tmp/band30/repo$ ls -al
README.md 확인됨
[7] bandit29@bandit/tmp/band30/repo$ cat README.md
# Bandit Notes
Some notes for bandit30 of bandit.
[8] bandit29@bandit/tmp/band30/repo$ git branch -a
remotes/origin/HEAD -> origin/master
dev branch 변경
[9] bandit29@bandit/tmp/band30/repo$ git chekout dev
[8] bandit29@bandit/tmp/band30/repo$ git branch -a
[9] (HEAD detached at origin/dev)
[10] bandit29@bandit/tmp/band30/repo$ git log
commit : xxxxxxxx 확인됨
[9] bandit29@bandit/tmp/band30/repo$ git show xxxxxxxxxxx
[10] bandit30 비밀번호 확인