Sida loo soo dejiyo faylasha oo loo eego Koodhka GitHub

Shan iyo lixdan milyan oo horumariyayaal ah iyo saddex milyan oo urur ma khaldami karaan. Martigelinta in ka badan 200 milyan oo kayd kood ah, GitHub waa goobta horumarinta ee doorashada cod- bixiyeyaasha(coders) iyo shirkadaha adduunka oo dhan. Horumariyayaashu(Developers) waxay u isticmaalaan GitHub si ay u dhisaan, u ilaaliyaan, oo xitaa u qaybiyaan software-kooda si isticmaalayaashu sida adiga oo kale u soo dejisan karaan faylasha oo aad si toos ah uga arki karaan koodka GitHub .

GitHub waxa ay fududaysay soo dejinta iyo daawashada koodka isha ee abka. Hagahan ayaa ku tusi doona sida tooska ah looga soo dejisan karo feylasha degelka GitHub si aad naftaada u aragto koodka mashruuca.

Ku rakib Daawaha Koodhka

Kahor intaadan soo dejisan kood kasta, waxaad u baahan doontaa inaad rakibto barnaamij awood u leh inuu daawado koodkaas. Visual Studio Code waa bilaash, il furan, iyo tifaftire kood la hagaajiyay kaasoo u oggolaanaya isticmaaleyaasha inay arkaan oo ay ka saaraan koodka oo ay qabtaan hawlaha. 

Soo deji oo ku rakib Visual Studio Code adiga oo raacaya saaxirka rakibaadda. Markaa waxaad diyaar u noqon doontaa inaad aragto faylasha iyo koodka aad ka soo dejisan karto GitHub

Waxaa jira tifaftirayaal badan oo kala duwan. Haddii mashruuc lagu abuuray IDE ka duwan (jawi horumarinta isku dhafan), markaas Visual Studio waxaa laga yaabaa inuusan ku habboonayn tafatirka koodkaas. Marka(Having) la yiraahdo, Visual Studio Code wuxuu kuu ogolaanayaa inaad wax ka beddesho koodka inta badan mashaariicda GitHub , oo had iyo jeer way shaqeyn doontaa haddii dhammaan waxaad rabto inaad sameyso waa inaad aragto(view ) koodka. 

Soo dejinta mashruucii ugu dambeeyay(Most Recent Release) ee GitHub

Aynu nidhaahno waxaad tahay barnaamij(programmer) -sameeyaha raba inuu soo dejiyo faylalka mashruuca qayb -(open-source) software ah oo furan. On GitHub , faylasha mashruuca waxaa lagu dhejiyaa meelaha kaydka ah, mashruuc kastaa wuxuu leeyahay bog guri oo kayd ah. Uma baahnid inaad leedahay akoon isticmaale GitHub si aad u aragto ama u soo dejiso faylasha. 

Raac tillaabooyinkan si aad u soo dejiso sii dayntii ugu dambeysay ee mashruuca aad xiisaynayso.

  1. Tag github.com _
  2. Ka raadi mashruuca magaca sanduuqa raadinta ee GitHub. 

  1. U gudub bogga hoyga ee kaydka

  1. Soo hel qaybta Sii daynta(Releases) oo dooro noocii ugu dambeeyay. Bogga desktop-ka ee GitHub, Siidaynta waxay ku taal dhinaca midig. Haddii kale, waxaad ku dari kartaa /releasesURL kaydka . Siideynta meesha ugu sareysa waxay noqon doontaa kii ugu dambeeyay.

  1. Marka xigta, hel oo balaadhi qaybta Hantida(Assets )

  1. Maadaama aad rabto inaad aragto koodka, soo deji koodhka isha faylka .zip . Isticmaalayaasha Linux(Linux) waa inay soo dejiyaan koodhka isha faylka tar.gz.

  1. Ka soo saar kaydka koodka isha ee aad soo dejisay tallaabada 6.
  2. U beddelo Tifaftiraha Code Visual(Visual Code Editor) oo dooro Fayl(File ) > Folder Furan(Open Folder) . Guji(Navigate) oo dooro galka aad ka soo saartay tallaabada 7.

  1. Riix badhanka Xulashada Folderka(Select Folder ) .
  2.  In Visual Studio Code , waxaad arki doontaa mashruuca ku qoran dhanka bidix. Waxaad balaadhin kartaa fallaadhaha hoos u dhaca si aad u aragto dhammaan faylasha ku jira mashruuca. 

  1. Dooro faylka mashruuca ee guddiga bidixda, koodna wuxuu ka muuqan doonaa goobta shaqada ee midigta. 

Tallaabooyinka kor ku xusan waxay ku socdaan sida loo arko faylasha laga soo bilaabo sii deynta ugu dambeysay ee mashruuca GitHub . Laakiin maxaa dhacaya haddii aad rabto inaad aragto faylasha laan gaar ah oo mashruuca ah?

Ka soo dejinta Laan Gaar ah

Gudaha GitHub , kaydku wuxuu yeelan karaa laamo(branches) badan . Laan kastaa waxay leedahay magac u gaar ah, waxayna ka kooban tahay tiro isbeddello ah. Waa nuqul ka mid ah qayb gaar ah oo ka mid ah koodka wakhti gaar ah oo aad ku samayn karto isbeddello adoon burburin asalka. Isbeddellada xeerka(Code) ayaa lagu sameeyaa gudaha laamaha ka dibna, haddii la codsado oo la oggolaado, dib ayaa loogu dari karaa qaybta shaqada ee ugu weyn ee mashruuca oo loo yaqaan laanta sare(master branch)

Aynu qiyaasno inaad rabto inaad soo dejiso oo aad aragto faylasha laan gaar ah oo mashruuc ah oo ku yaal GitHub . Si aad sidaas u samayso, raac talaabooyinkan:

  1. Magaca mashruuca ku raadi oo u gudub bogga hoyga kaydka ee mashruuca. 
  2. Soo hel laanta(branch) hoos u dhaca , oo dooro laanta aad rabto inaad soo dejiso. Caadi ahaan, laanta Master -ka waxay ka kooban tahay koodkii ugu dambeeyay, laakiin had iyo jeer maaha.

  1. Hadda oo aad dooratay laanta aad rabto, raadso oo dooro badhanka Koodhka(Code) cagaaran, dooro midkood soo deji Zip(Download Zip) ama, haddii aad aragto ikhtiyaarka, ku fur Visual Studio(Open with Visual Studio) . (Waxaa laga yaabaa inaad sidoo kale aragto ikhtiyaar aad ku furto GitHub Desktop(Open with GitHub Desktop) .)

  1. Ka soo saar faylka sibka oo ka fur faylka la soo saaray gudaha Visual Studio Code adoo raacaya tillaabooyinka 7-11 ee qaybta sare.

Markaad raacdo tillaabooyinka kore, waxaad ka arki kartaa koodka laan gaar ah oo mashruuc ah oo ku yaal GitHub . Marka xigta(Next) , waxaan ka wada hadli doonaa sida loo sii qoto dheereeyo oo loo soo dejiyo faylasha ballan(commit) gaar ah .

Ka soo dejinta Ballanqaad Gaar ah

Mar kasta oo beddelka kood lagu dabaqo kaydka, waxa lagu daraa ballan(commit) -qaad . Ballanqaadku wuxuu ka kooban yahay dhammaan isbeddellada tan iyo markii ugu dambeysay ee koodka. Waxaa laga yaabaa inaad rabto inaad ka soo dejiso ballan gaar ah haddii aad isku dayayso inaad tirtirto arrimaha uu sababay beddelka koodka dhowaan.

  1. U gudub bogga hoyga kaydka oo dooro laanta aad rabto inaad ku shaqeyso. Sida caadiga ah, tani waxay noqon doontaa laanta sayidkiisa.
  2. Raadi oo dooro isku xirka Ballanqaadyada(Commits ) .

  1. Dooro ballan-qaadka aad rabto inaad soo dejiso adiga oo dooranaya cinwaanka ballan-qaadka.

  1. Hadda waxaad ku jirtaa bogga ballan-qaadka aad dooratay. Marka xigta, dooro badhanka galka faylasha(Browse files) .

  1. Soo hel oo dooro badhanka Koodhka(Code) cagaaran , oo dooro midkood soo deji zip(Download zip) ama, haddii la heli karo, ku fur Visual Studio(Open with Visual Studio) .
  2. Ugu dambeyntii, soo saar faylka zip-ka oo fur galka la soo saaray ee Visual Studio Code

Waxaa jira wax badan oo ka badan GitHub

Soo dejinta iyo daawashada faylasha mashruuca ee GitHub waa uun cidhifka barafka. Ugu dambayntii, waxa laga yaabaa inaad rabto inaad fargeeto kayd, ku xidho kayd maxalli ah, isbedel samayso, ku celiso isbedelada fargeetada, ka dibna aad gudbiso codsi jiidis weydiiso mulkiilaha mashruuca inuu ku daro isbedeladaada kaydka isha. 



About the author

Ganacsi ahaan, waxay ku saabsan tahay abuurista qiimaha macaamiishaada iyo macaamiishaada. Waxaan diiradda saarayaa bixinta tilmaamo tallaabo-tallaabo ah oo ka caawinaya akhristayaashayda inay sida ugu badan uga faa'iidaystaan ​​qalabkooda iyo software-kooda, anigoo isticmaalaya Microsoft Office. Xirfadahayga waxaa ka mid ah kiiboodhka iyo rakibida darawalada, iyo sidoo kale taageerada Microsoft Office. Sannadaha aan khibrad u leeyahay warshadaha, waxaan kaa caawin karaa inaad daboosho baahi kasta oo hardware ama software ah oo aad u baahan tahay.



Related posts