rcity

rcity16 Write-Up

jeff_kim 2024. 4. 2. 17:46

 

 

풀이

 

rcity16@9947d876f6e5:~$ ls -al
total 36
drwxr-xr-x 1 root    root    4096 Mar  6 08:04 .
drwxr-xr-x 1 root    root    4096 Mar  6 08:03 ..
-rw-r--r-- 1 root    root     220 Jan  6  2022 .bash_logout
-rw-r--r-- 1 root    root    3771 Jan  6  2022 .bashrc
dr-xrw---- 8 rcity16 root    4096 Mar  6 08:04 .git
-rw-rw-r-- 1 rcity16 rcity16   34 Mar  6 08:04 .gitconfig
-rw-r--r-- 1 root    root     807 Jan  6  2022 .profile
-rw-r--r-- 1 root    root      64 Mar  6 08:04 rcity17
rcity16@9947d876f6e5:~$ git log
commit 0283350763931415bab762ab741a69a4a316ce80 (HEAD -> master)
Author: rcity16-flag.txt: 7c2kCGahUE1HABrSsm5 <rcity16@saveme.com>
Date:   Wed Mar 6 08:04:14 2024 +0000

    Add feature B by Groot

commit a3f0055555748f1e10b572b1083a97303c3b5d79
Author: rcity16-flag.txt: 7c2kCGahUE1HABrSsm5 <rcity16@saveme.com>
Date:   Wed Mar 6 08:04:14 2024 +0000

    Fix bug in feature A by Choi

commit f5c6c002a913b569bf8477c577faedfe89f4811a
Author: rcity16-flag.txt: 7c2kCGahUE1HABrSsm5 <rcity16@saveme.com>
Date:   Wed Mar 6 08:04:14 2024 +0000

    Add feature A by Groot

commit 7367edfcd67359ff51106abe16e31adf49fcecd7
Author: rcity16-flag.txt: 7c2kCGahUE1HABrSsm5 <rcity16@saveme.com>
Date:   Wed Mar 6 08:04:14 2024 +0000

    Initial commit by Groot

 

이미 flag 가 나와있다 git을 이용하여 보는 것이 log, show 등등 변경된 이력이나 branch를 변경해서 가지고 있는 파일을 확인할 수 있다

 

rcity16@9947d876f6e5:~$ git show
commit 0283350763931415bab762ab741a69a4a316ce80 (HEAD -> master)
Author: rcity16-flag.txt: 7c2kCGahUE1HABrSsm5 <rcity16@saveme.com>
Date:   Wed Mar 6 08:04:14 2024 +0000

    Add feature B by Groot

diff --git a/rcity17 b/rcity17
index 5cb95ea..eade910 100644
--- a/rcity17
+++ b/rcity17
@@ -1,3 +1,4 @@
 Initial commit
 Add feature A
 Fix bug in feature A
+Add feature B

 

 

'rcity' 카테고리의 다른 글

rcity18 Write-Up  (0) 2024.04.02
rcity17 Write-Up  (0) 2024.04.02
rcity15 Write-Up  (0) 2024.04.02
rcity14 Write-Up  (0) 2024.04.01
rcity13 Write-Up  (0) 2024.04.01