반응형
SMALL

[1] bandit31@bandit:~$ mkdir /tmp/band32

[2]  bandit31@bandit:~$ cd /tmp/band32

[3] bandit31@bandit:/tmp/band32$ git clone ssh://bandit31-git@localhost:2220/home/bandit31-git/repo

bandit31 -> bandit32

[4] bandit31@bandit:/tmp/band32$ ls -al

     repo 확인

[5] bandit31@bandit:/tmp/band32$ cd repo

bandit31 -> bandit32

[6] bandit31@bandit:/tmp/band32/repo$ cat README.md\      

     Details: 

        File nameL key.txt

        Content: 'May I come in'

        Branch: master

bandit31 -> bandit32

[7] bandit31@bandit:/tmp/band32/repo$ git branch 

    * master

[8] bandit31@bandit:/tmp/band32/repo$ echo "May I come in" > key.txt

[9] bandit31@bandit:/tmp/band32/repo$ ls -al

    key.txt 확인

bandit31 -> bandit32

[10] bandit31@bandit:/tmp/band32/repo$ git add -f key.txt

[11] bandit31@bandit:/tmp/band32/repo$ git commit -m 'key ad'

[12] bandit31@bandit:/tmp/band32/repo$ git push origin master

bandit31 -> bandit32

[13] bandit31@bandit:/tmp/band32/repo$ git show xxxxxxxxxxxxx

      bandit32비밀번호 확인됨

      3O9RfhqyAlVBEZpVb6LYStshZoqoSx5K

 

반응형
LIST

+ Recent posts