2021. 10. 7. 13:55ใGithub
Github์ผ๋ก ํ์ ํ๋ค๋ณด๋ฉด macOS๋ .DS_Store๊ฐ, Xcode์์๋ xcshareddata ๊ฐ์ ํ์ผ๋ค์ด ๊ณ์ ์์ฑ๋๋ค.
.DS_Store๋ macOS ํน์ ์ ํ์ผ ์์ด์ฝ์ด๋ ์์น ๋ฑ์ด ๋ฐ๋๋ฉด ์์ฑ๋๋ ๋ณ๊ฒฝ์ฌํญ์ด๊ณ , Xcode๋ ๋ด ์ปดํจํฐ์ ๋ง์ถฐ์ ๋ฐ์ดํฐ๊ฐ ๋ณ๊ฒฝ๋ ๋ ์์ฑ๋๋ค(์๋ฅผ ๋ค๋ฉด ์๋๋ฐฉ์ด ์๊ธฐ ์์ด๋๋ก Sign์ ํด๋๊ณ ์งํํ ๋ค์ ๊นํ ํ์ ๋ฐ์ผ๋ฉด ๋น๋ ์๋ฌ๊ฐ ๋๋ค)
๊ทธ๋ ๊ธฐ ๋๋ฌธ์ .gitignoreํ์ผ์ ์ง์ .DS_Store๋ฅผ ์ถ๊ฐํด์คฌ๋๋ฐ, ์ด์ํ๊ฒ๋ ์ ์ฉ์ด ์ ์๋๋ค. ์์ ํ ์ ์ฉ๋๊ฒ ์๋ ๊ฒ ๊ฐ์์ ์ฌ์ด ๋ฐฉ๋ฒ์ ์ฐพ์๋ดค๋ค.
์ด ์ฌ์ดํธ๋ฅผ ํตํด์ gitignore๋ฅผ ์์ฑํ๋ฉด ๊ณ ๋ฏผํ ํ์๋ ์๋ค!
https://www.toptal.com/developers/gitignore
์ฌ์ดํธ์ ๋ค์ด๊ฐ์ Create์ฐฝ ์์ ์๊ธฐ๊ฐ ์ํ๋ ๊ฑธ ์ ๋ ฅํ๋ค.
๋ ๊ฐ์ ๊ฒฝ์ฐ๋ macOS, cocoapods, firebase,๊ทธ๋ฆฌ๊ณ xcode์๋ค. ๊ฐ๋จํ๊ฒ macOS์ Xcode๋ง ์ ๋ ฅํ๋ค๋ฉด ๊ฒฐ๊ณผ๊ฐ
https://www.toptal.com/developers/gitignore/api/macos,xcode(์๋ก์ด ๋งํฌ๋ก ๋ฆฌ๋ค์ด๋ ์ ๋๋ค)
# Created by https://www.toptal.com/developers/gitignore/api/macos,xcode,firebase,cocoapods
# Edit at https://www.toptal.com/developers/gitignore?templates=macos,xcode,firebase,cocoapods
### CocoaPods ###
## CocoaPods GitIgnore Template
# CocoaPods - Only use to conserve bandwidth / Save time on Pushing
# - Also handy if you have a large number of dependant pods
# - AS PER https://guides.cocoapods.org/using/using-cocoapods.html NEVER IGNORE THE LOCK FILE
Pods/
### Firebase ###
.idea
**/node_modules/*
**/.firebaserc
### Firebase Patch ###
.runtimeconfig.json
.firebase/
### macOS ###
# General
.DS_Store
.AppleDouble
.LSOverride
# Icon must end with two \r
Icon
# Thumbnails
._*
# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent
# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
### Xcode ###
# Xcode
#
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
## User settings
xcuserdata/
## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9)
*.xcscmblueprint
*.xccheckout
## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4)
build/
DerivedData/
*.moved-aside
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
## Gcc Patch
/*.gcno
### Xcode Patch ###
*.xcodeproj/*
!*.xcodeproj/project.pbxproj
!*.xcodeproj/xcshareddata/
!*.xcworkspace/contents.xcworkspacedata
**/xcshareddata/WorkspaceSettings.xcsettings
# End of https://www.toptal.com/developers/gitignore/api/macos,xcode,firebase,cocoapods
์ด๊ฑธ gitignoreํ์ผ์ ์ฌ๋ ค์ฃผ๊ณ ์ปค๋ฐํด์ฃผ๋ฉด ๋ณ๊ฒฝ์ฌํญ ์ ์ฅ ์๋ฃ~!๐
'Github' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
Open Source์ issue ๋จ๊ฒจ๋ณธ ํ๊ธฐ (0) | 2021.09.24 |
---|