일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
- tableView
- ribs
- combine
- swift documentation
- Clean Code
- MVVM
- Human interface guide
- UITextView
- Protocol
- SWIFT
- UICollectionView
- HIG
- collectionview
- Xcode
- 애니메이션
- rxswift
- 리펙터링
- RxCocoa
- 클린 코드
- Refactoring
- uitableview
- map
- 스위프트
- uiscrollview
- 리펙토링
- ios
- Observable
- swiftUI
- 리팩토링
- clean architecture
- Today
- Total
목록git diff (2)
김종권의 iOS 앱 개발 알아가기
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/yAnIi/btsdYwMRZQB/StM4WiOskTMSjveTUVziD0/img.gif)
특정 부분만 stage로 올리기 먼저 git diff로 변경된 부분을 확인 git add -p를 사용하여 특정 부분만 stage로 올리기 git status 현재의 git 상태를 확인하고, 변경된 파일도 같이 확인 ExGit% git status On branch main Changes not staged for commit: (use "git add ..." to update what will be committed) (use "git restore ..." to discard changes in working directory) modified: ExGit.xcodeproj/project.xcworkspace/xcuserdata/gimjong-gwon.xcuserdatad/UserInterfaceSt..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/bBmNFa/btqEIT9qtHq/1CszfWvfP9qpav5FsoH5bK/img.png)
1. 버전 생성 다른 사람이 봤을 때 누가 작업했는지 파악에 용이 (한 번, 다음과 같이 실행 - 이후에는 지속) git config --global user.name "자신의 닉네임" git config --global user.email "자신의 이메일" 2. commit msg - 왜 해당 파일이 변경되었는지 작성하는 것 1) 변경사항 작성 git add f1.txt // commit 대기하기 위해 가는 곳(stage)에 추가 git commit // stage에 있는 파일들을 commit 2) insert i 입력 -> msg작성("version 1.0") 3) 저장 esc -> :wq 3. 버전 생성 확인 1) 기본적인 log cmd git log 2) log 명령어의 옵션 (1) 로그에서 출력..