SVN - ynjch97/YNJCH_WIKI GitHub Wiki
- νμ¬ μ μ¬μ©νμ§λ μμ§λ§ κΈ°λ‘μ©μΌλ‘ μμ±νμμ
1. SVN μλ² μ€μΉ
- μ°Έκ³ : https://timeboxstory.tistory.com/98
- https://www.visualsvn.com/
- VISUAL SVN SERVER ν΄λ¦ > Download > VisualSVN Server 5.3.2 (64-bit) μ€μΉ λ° μ€ν
VisualSVN Server and Administration Tools
체ν¬, Add Subversion command-line tools to the PATH environment variable
μ ν
- μ€μΉ μμΉ:
C:\Program Files\VisualSVN Server
- μ μ₯μ μμΉ:
C:\Repositories\
- λ°±μ
μ μ₯μ μμΉ:
C:\Users\Public\Documents\VisualSVN Server\Backup\
- Server Port: 443
Enable search indexing for repositories
μ²΄ν¬ ν΄μ
Use Subversion authentiaction
체ν¬
- μ€μΉ μλ£
1-1. Repository μμ±
- VisualSVN Server > Repository μ°ν΄λ¦ ν
Create New Repository
Regualar FSFS repository
μ ν > μ΄λ¦ μ§μ
Empty repository
μ ν > nobody has access
μ ν > Allow search indexing of this repository
μ²΄ν¬ > Create
1-2. User μμ±
- Users μ°ν΄λ¦ ν >
Create User
- μμ±ν Repository μ°ν΄λ¦ ν
Properties
> Security
> Add
> μμ±ν User μΆκ°
- μμ±ν Repository μ°ν΄λ¦ ν Copy URL to Clipboard (https://[IP μ£Όμλ‘ λ³κ²½]:8443/svn/[μμ±ν μ μ₯μλͺ
]/)
2. SVN μ¬μ©μ μ€μΉ
- μ°Έκ³ : https://timeboxstory.tistory.com/100
- https://tortoisesvn.net/downloads.html
TortoiseSVN 1.14.6 - 64-bit
λ€μ΄λ‘λ λ° κΈ°λ³Έ μ€μ μΌλ‘ μ€μΉ
- SVN Checkout ν ν΄λ μμ± ν μ°ν΄λ¦ >
SVN Checkout
- URL of repository : Copy URL μ
λ ₯ (Fully recursive, HEAD revision μ κ·Έλλ‘ μ€μ ) >
OK
> Accept the certificate permanently
- User κ³μ μ 보 μ
λ ₯ ν
OK
Commit λ΄μ 보기
- νλ‘μ νΈ ν΄λ μ°ν΄λ¦ > TortoiseSVN > Show Log
Copy URL
2-1. VSCode μμ μ¬μ©νκΈ°
- VSCode > Terminal > μλ λͺ
λ Ήμ΄ μ
λ ₯
svn checkout 'https://192.168.1.217:443/svn/PROJECT/'
- svn νμ₯ νλ‘κ·Έλ¨ μ€μΉ
- μ’μΈ‘
Source Control
μμ΄μ½ ν΄λ¦
- Checkout: μλ¨ λ보기 > Update
- Commit: νμΌ μ ννμ¬ Commit
svn:ignore μ€μ
- νλ‘μ νΈ ν΄λ μ°ν΄λ¦ > TortoiseSVN > Settings
- General > Global ignore pattern μ€μ
*.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *.pyo __pycache__ *.rej *~ #* .#* .*.swp .DS_Store [Tt]humbs.db
μμ λ΄μ© λ€μ μλ λ΄μ© μΆκ°
.gitignore README.md chunk-JC4IRQUL.js.map chunk-JC4IRQUL.js
*/.q-cache/vite/spa/deps/*.js (μλ¨)
ν΄λ λ° νμΌ μμ λ°μ
- ν΄λ λ° νμΌμ delete > Source Control > Changes λͺ©λ‘ νμΈ
- delete ν νλͺ© μ°ν΄λ¦ > Remove Selected ν Commit ν΄μ£Όλ©΄ λ°μ μλ£