반응형
SMALL

[1]  bandit30@bandit:~$ ls -al

[2]  bandit30@bandit:~$ mkdir /tmp/band31

[3] bandit30@bandit:~$ cd /tmp/band31

[4] bandit30@bandit/tmp/band31$ git clone ssh://bandit30-git@localhost:2220/home/bandit30-git/repo 엔터치고

     중간에 yes 누르고

    마지막에 bandit30 password 복사해서 붙여넣기

bandit30 -> bandit31

[5] bandit30@bandit/tmp/band31$ ls -al

     repo 파일 확인

[6] bandit30@bandit/tmp/band31$ cd repo

[7] bandit30@bandit/tmp/band31/repo$ ls -al

bandit30 -> bandit31

[8] bandit30@bandit/tmp/band31$ cat README.md

     just an epmty file...

[9] bandit30@bandit/tmp/band31$ git branch -a

     master 확인

bandit30 -> bandit31

[10] bandit30@bandit/tmp/band31$ git show-ref

       xxxxxxxxxx refs/tags/secret 확인해 보자

bandit30 ->bandit31

[11] bandit30@bandit/tmp/band31$ git show xxxxxxxxxxx

       bandit31 비밀번호 확인

 

 

반응형
LIST

+ Recent posts