uzun süredir eclipse içinden svn repoma ulaşıp iki satır uğraşamıyordum. bugün sonunda eclipse içindeki egit ile ulaşabildim.
ilk yapılması gereken svn reposunu git e taşımak.
mkdir yenirepo
cd yenirepo
git svn clone http://repoadresinizneise
arada signal 13 ile çatladığı oldu gitin. folderın içine girip "git svn fetch" demeniz yeterli. oda çatlayabiliyor. bir kaç kere çalıştırmanız yeterli kaldığı yerden devam edebiliyor.
sonrasında eclipse gidip git clone etme yerinde uri olarak şunu yazıyoruz
ssh://user@serveripsi/home/user/yenirepo
sonrasında workingdirectory altında reponuzdaki folderlar duruyor ve import ediliyor.
yeni folder da bir kere şu komut gerek
git config --bool core.bare true
bu yöntemin güzel tarafı ssh üzerinden çalışıyor yani security built-in. daha evel git deamon ile denemiştim. oda güzel ama security için ayrı uğraşmak gerekiyordu. bu temiz oldu.
git deamon merak edenler için. git init yapılan folderda aşağıdaki komutu çalıştırmak yeterli
git daemon --base-path=. --export-all --enable=receive-pack --reuseaddr --informative-errors
server tarafında ilkten bir push hatası alabilirsiniz.
"refusing to update checked out branch: refs/heads/master"
çözümü için serverdaki reponun içinde şu komut çalıştırılır
git config receive.denyCurrentBranch ignore
Subscribe to:
Post Comments (Atom)
diablo immortal
strangely I start liking diablo immortal in mobile, and now decided to install in windows :)
-
at the end of any product there will be a reporting interfaces for counts. let say you build a advertisement site which gives people to publ...
-
In order to use jhipster user system I needed to find out how to call jhipster, I am planning to do this with curl because it is easiest wa...
-
if you have wl11 ejb server and in that environment generated ejb client and deploy to wl12 it will give you this exception java.lang.NoSu...
No comments:
Post a Comment