Aug17

Ini sebagai dokumentasi aja, seringkali saya lupa cara meng-ignore direktori log supaya jangan sampai ter-commit ke SVN repositori, so ini caranya

Buka console, masuk ke directory RAILS_ROOT lalu ketik

svn propedit svn:ignore log/

setelah itu SVN akan memanggil editor, kalo editor tidak terpanggil dan muncul error, jangan lupa untuk ngeset SVN_EDITOR environment variable

di editor masukan semua file log yang akan di-ignore

development.log
production.log
server.log
test.log

lalu keluar dan jangan lupa di-save, setelah itu hapus file log tersebut dari SVN repositori

svn rm log/*

setelah itu silahkan perubahan yang ada di-commit

svn ci -m “ignore files inside log directory”

1 Comment

Trackback: Use this URI to trackback this entry. Use your web browser's function to copy it to your blog posting.

Gravatar: You can have a picture at the top of each your comments by getting a Gravatar

opung chikal
August 20, 2009 3:53 am

izinkan saya teriak PERTAMAAAAAAAXXX!!!
merdeka bung!!!

RSS feed for comments on this post.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>



Anti-spam measure: please retype the above text into the box provided.