ํ‹ฐ์Šคํ† ๋ฆฌ ๋ทฐ

728x90
๋ฐ˜์‘ํ˜•

co

svn co ์†Œ์Šค์ฝ”๋“œ ๊ฒฝ๋กœ
  • ์›๊ฒฉ ์ €์žฅ์†Œ๋กœ ์†Œ์Šค๋ฅผ ๋กœ์ปฌ๋กœ ๊ฐ€์ ธ์˜จ๋‹ค.

up

# ์ „์ฒด ์†Œ์Šค์ฝ”๋“œ
$ svn up
# ํŠน์ • ํŒŒ์ผ, ํด๋”
$ svn up ํŒŒ์ผ๋ช… ๋˜๋Š” ํด๋”๋ช…
  • ์ €์žฅ์†Œ์— ๋ฐ˜์˜๋œ ์ตœ์‹  ๋ฆฌ๋น„์ „์„ ๋กœ์ปฌ์— ๋ฐ˜์˜ํ•œ๋‹ค.
  • ๋‚˜์˜ commit์„ ๋ฐ˜์˜ํ•˜๊ธฐ ์ „์—, ๋ณ€๊ฒฝ๋œ ์‚ฌํ•ญ์ด ์žˆ๋Š”์ง€ `up`์„ ํ†ตํ•ด ๋ฐ˜์˜ํ•˜์—ฌ์•ผ ํ•œ๋‹ค.

ci

$ svn ci
# ๋ฐ”๋กœ commit message ์ž…๋ ฅ ๊ฐ€๋Šฅ
$ svn ci -m "message"
# commit message๊ฐ€ ์ž…๋ ฅ๋œ ํŒŒ์ผ์„ ์ด์šฉ
$ svn ci -F FILE_NAME

 

log

# ์ƒ์œ„๋ถ€ํ„ฐ N๊ฐœ ๊นŒ์ง€ ๋กœ๊ทธ ์ถœ๋ ฅ
$ svn log -l 5

 ๋ฌด์ž‘์ • `svn log`๋ฅผ ์ž…๋ ฅํ•˜๋ฉด, ํ˜„์žฌ๊นŒ์ง€์˜ ๋กœ๊ทธ๋“ค์ด ๋ชจ๋‘ ์ถœ๋ ฅ๋œ๋‹ค.

 

diff

# ๋กœ์ปฌ๊ณผ ์ €์žฅ์†Œ์˜ ๋ฆฌ๋น„์ „๊ณผ ๋น„๊ต
svn diff
# ๋กœ์ปฌ๊ณผ r123456 ๋ฆฌ๋น„์ „๊ณผ ๋น„๊ต
svn diff -r r123456
# ํŠน์ • ๋ฆฌ๋น„์ „ ๋ณ„ ๋น„๊ต
svn diff -r r123456:r654321

 

728x90
๋ฐ˜์‘ํ˜•
๋Œ“๊ธ€
๊ธ€ ๋ณด๊ด€ํ•จ
์ตœ๊ทผ์— ์˜ฌ๋ผ์˜จ ๊ธ€
์ตœ๊ทผ์— ๋‹ฌ๋ฆฐ ๋Œ“๊ธ€