Github niki, uburyo bwo kuyikoresha, uburyo bwo gukora umushinga, gucunga no kugena

Программирование

GitHub niki, kuki ikenewe nuburyo bwo gukoresha GitHub, uburyo bwo gutangira gukoresha serivise – umurongo utangira.
Github niki, uburyo bwo kuyikoresha, uburyo bwo gukora umushinga, gucunga no kugenaGitHub ni imwe muri serivisi zizwi cyane zo kwakira ububiko bwuzuye. Urubuga rugufasha gutangaza imishinga yihariye no gukurikirana impinduka zakozwe muri buri itera. Abandi bakoresha GitHub barashobora gusuzuma kode yabakoresha hanyuma bagatanga impinduka zabo. Ubu busobanuro butanga gusobanukirwa muri make. Ariko, imikorere ya serivisi ntabwo igarukira kuriyi. Muri iyi ngingo yo gusubiramo, tuzareba Github muburyo burambuye.

GitHub niki nuburyo bwo gutangira – Igitabo cyintangiriro

GitHub numuyoboro wa interineti aho abitezimbere hamwe nabashinzwe porogaramu bashobora kohereza kode bakoze kandi bagakorera hamwe kugirango bayiteze imbere. Ikiranga GitHub nuburyo bukomeye bwo kugenzura verisiyo. Igenzura rya verisiyo ryemerera abategura porogaramu gukora software batabangamiye software ubwayo. Impinduka ziteganijwe zirashobora guhuzwa byoroshye kurekurwa byuzuye, ariko nyuma yimpinduka zose zasuzumwe kandi zemejwe.
Github niki, uburyo bwo kuyikoresha, uburyo bwo gukora umushinga, gucunga no kugena

Git na GitHub – ni irihe tandukaniro, kumenyana bwa mbere na Git na GitHub

Git ni iki?

Igisubizo: Sisitemu yihuta kandi nini yo kugenzura sisitemu . Git ni ubuntu kandi ifunguye isoko yagabanijwe kugenzura sisitemu yagenewe kwihuta kandi neza kumushinga uwo ariwo wose, kuva muto kugeza munini cyane.

GitHub ni iki?

Igisubizo: serivisi ikomeye yibicu byo gucunga iterambere ryigenga hamwe nisoko rifungura imishinga.

Ni irihe tandukaniro nyamukuru?

Git ni software yuzuye murwego rwo kugenzura sisitemu yo kugenzura, yashyizwe kuri mudasobwa bwite y’umukoresha. Git igufasha guhindura kode ukoresheje umurongo wategeka (Microsoft PowerShell), kandi GitHub itanga ubushobozi bwo kubika imishinga muburyo rusange.

Ibintu bishimishije kuri Github

  1. Umubare ntarengwa w’abakoresha kurubuga umwaka ushize (ukurikije imibare yo ku ya 24 Nyakanga 2021) wari abantu miliyoni 45.
  2. Muri 2018, Microsoft yaguze GitHub kuri miliyari 7.5 z’amadolari.
  3. Hano hari isoko ifunguye git ububiko kuri Github. Umuntu wese arashobora kugira icyo ahindura. Umushinga uraboneka kumurongo – https://github.com/git/git?ref=stackshare


Github niki, uburyo bwo kuyikoresha, uburyo bwo gukora umushinga, gucunga no kugenaUrugero rwububiko bwa GitHub [/ caption]

Ibiranga Github

  1. Ubushobozi bwo guhuza hamwe na porogaramu zizwi cyane – Amazone, Google Cloud na Code Climate.
  2. Inkunga y’indimi zirenga 200.
  3. Urwego rwo hejuru rwo guhuriza hamwe no “gufatanya”. Iyo umukoresha atangaje umushinga wabo kuri GitHub, abaturage basigaye bategura porogaramu barashobora gukuramo no gusuzuma akazi, ubwiza bwa code, hamwe nurwego rwubuhanga. Abakoresha mugice cya gatatu barashobora kuburira nyirumushinga kubyerekeye ibibazo bishoboka, amakimbirane ahinduka, nibindi.

Uburyo GitHub ikora, ibiranga

Ibintu bitatu byingenzi biranga Github ni ishami, gukurura ibyifuzo, no guhuza. Birakwiye ko dusuzuma buri gikorwa ukwacyo.

Kureka

Gukora umushinga ukora kopi (fork) yemerera uyikoresha kugerageza kubuntu bitagize ingaruka kumushinga wambere. Kora amahuriro no gukurura ibyifuzo: https://youtu.be/nT8KGYVurIU

Kuramo ibyifuzo

Gusaba gukurura byashyizwe ahagaragara nuwitezimbere nyuma yo kurangiza gukora mugukosora / guhindura code. Muri icyo gihe, nyir’umushinga ubwe arashobora gusuzuma impinduka zakozwe akabaza ibibazo byose byiyongera.
Github niki, uburyo bwo kuyikoresha, uburyo bwo gukora umushinga, gucunga no kugena

Guhuriza hamwe

Nyirubwite amaze kwemeza icyifuzo cyo gukurura, bahuza icyifuzo cyo gukurura hanyuma bagakoresha impinduka ziva kumushinga wubatswe kugeza kode yinkomoko.

Ubuyobozi – uburyo bwo gutangira muri Github guhera

Aka gatabo keza kubatangiye bose batangiye kwiga Git na Github. Intambwe zikurikira zizagufasha kubaka sisitemu nziza yo gukorana niyi software. Uzamenya uburyo bwo guhindura codebase, fungura icyifuzo cyo gukurura (kora icyifuzo cyo gukurura), no guhuza code mumashami nkuru. Reka rero dutangire.
Github niki, uburyo bwo kuyikoresha, uburyo bwo gukora umushinga, gucunga no kugenaKonti ya GitHub Dashboard [/ caption]

Intambwe 0Kuramo Git hanyuma ukore Konti ya GitHub

  1. Jya kurubuga rwemewe rwa Git: https://git-scm.com/downloads
  2. Kanda kumurongo kugirango ukuremo desktop ya Git ya Windows hanyuma utegereze gukuramo birangiye.
  3. Gukuramo no gukoresha Git ushyira mugukanda kabiri dosiye ya Git.exe.Github niki, uburyo bwo kuyikoresha, uburyo bwo gukora umushinga, gucunga no kugena
  4. Emerera porogaramu kugira icyo ihindura kuri PC ukanze buto “Yego” muri “Umukoresha Konti Igenzura” agasanduku gafungura.
  5. Tangira inzira yo kwishyiriraho. Soma inyandiko nkuru ya GNU rusange kandi ukande ahakurikira.Github niki, uburyo bwo kuyikoresha, uburyo bwo gukora umushinga, gucunga no kugena
  6. Kugaragaza ahantu washyira porogaramu, cyangwa gusiga indangagaciro. Porogaramu izagusaba gukora ububiko bwa menu. Simbuka iki kintu.
  7. Hitamo umwanditsi wanditse ushaka gukoresha hamwe na Git. Mu idirishya rimanuka, hitamo Notepad ++ (cyangwa undi mwanditsi wanditse mwakoranye mbere) hanyuma ukande “Ibikurikira”.Github niki, uburyo bwo kuyikoresha, uburyo bwo gukora umushinga, gucunga no kugena
  8. Kugaragaza izina ryishami rishya ryumushinga. Agaciro gasanzwe ni “umutware”. Birasabwa ko ureka igenamiterere risanzwe.
  9. Muguhitamo guhitamo PATH, umukiriya wa SSH, seriveri ya seriveri, umurongo urangirira hamwe na terminal, usige byose uko biri hanyuma ukande buto “Ibikurikira”.
  10. Kureka igenamiterere ryose hanyuma utangire kwishyiriraho porogaramu.
  11. Igikorwa kimaze kurangira, reba agasanduku kugirango urebe inyandiko zisohoka hanyuma utangire Git Bash. Funga idirishya.

Urashobora kwandikisha konte kuri Github ukoresheje umurongo ukurikira: https://github.com/join. Kugirango ukore ibi, ugomba kwinjiza amakuru yibanze yo kwiyandikisha asabwa mugihe kizaza kugirango ugenzure konti.
Github niki, uburyo bwo kuyikoresha, uburyo bwo gukora umushinga, gucunga no kugena

Intambwe ya 1: Tangiza Git hanyuma ukore ububiko bwambere bwibanze

Git ifite uburyo bubiri bwo gukoresha – bash (Git Bash) hamwe nubushakashatsi bukoreshwa (Git GUI). Gutangira Git Bash, fungura menu yo gutangira – Windows, andika git bash hanyuma ukande Enter (cyangwa gukanda kabiri-kanda ahanditse progaramu ya progaramu). Gutangiza Git GUI, fungura menu yo Gutangira – Windows, andika git gui hanyuma ukande Enter. Ku bitureba, tuzakoresha Git Bash.
Github niki, uburyo bwo kuyikoresha, uburyo bwo gukora umushinga, gucunga no kugenaGukora umushinga mushya muri Git Bash bikubiyemo gukoresha amategeko yihariye kugirango utangire ububiko bushya. Ubanza ugomba gufungura Bash terminal ukanda iburyo-ukanda kuri desktop hanyuma muri menu yamanutse Git Bash Hano. Mu idirishya rya terefone kuri mashini yiwanyu, kora ububiko bushya bwikizamini (ububiko) wandika ibi bikurikira:
getrekt: Ibiro bya Getrekt $ cd ~ / Ibiro
Getrekt
: Ibiro bya Getrekt
Kora ububiko bwa mbere bwa Github: https://youtu.be/yHCUc6cmhcc

Intambwe 2. Kora dosiye nshya mububiko

Mububiko bwumushinga, ongeramo dosiye nshya ukoresheje itegeko ryo gukoraho. Muburyo busanzwe, itegeko rizakora dosiye yubusa irimo kwagura .txt.

Itondere! Git ikiza / icunga impinduka gusa kuri dosiye ikurikirana. Nyuma yo gukora dosiye nshya, uyikoresha arashobora gukurikirana imiterere yayo akoresheje itegeko rya git. Konsole izatanga urutonde rwamadosiye aboneka mububiko.

Mugihe wongeyeho dosiye mububiko burimo ububiko bwa git, porogaramu izabona impinduka imbere mumushinga. Ariko, gukurikirana byikora ntabwo bizashoboka, ugomba gukoresha itegeko ryihariye kuriyi – git ongeraho.
Getrekt: myproject getrekt $ touch getrekt.txt
getrekt: myproject
Getrekt

Intambwe ya 3: Ongeraho dosiye mugukurikirana ibidukikije

Ongeraho dosiye kubidukikije hamwe na git wongere itegeko.
getrekt: myproject git ongeraho. Hamwe niri tegeko, porogaramu izatangira gukurikirana mu buryo bwikora dosiye zose zizaba zakozwe mububiko bwumushinga. Urashobora kugenzura niba itegeko rikorana na git status. Nibyo ibiti bisa kumurongo wa Git Bash nyuma yo kwandika git status:
getrekt: getrekt getrekt $ git status
Kuri shobuja wishami
Intangiriro
wiyemeje Impinduka ugomba kwiyemeza:
(koresha “git rm –cashed …” to unstage)
Idosiye nshya yongeyeho
izina rishya: getrekt.txt
dosiye nshya: getrekt.txt Log Log comment: Idosiye itarakozwe, ariko iri hafi kongerwaho.

Intambwe ya 4Kora icyemezo

Kwiyemeza nigenzura ryububiko ubwo aribwo bwose. Muri make, impinduka yo kubika ibika amakuru yerekeye dosiye yongeweho, yahinduwe cyangwa yasibwe ibika kode runaka.
getrekt: myproject getrekt $ git kwiyemeza -m “ABASORE BANJYE BANJYE!”
[shobuja (umuzi-kwiyemeza) b345d9a] KOMISI YANJYE Yambere!
Idosiye 1 yahinduwe, 1 insertion (+)
irema uburyo 100644 getrekt.txt

Itegeko ryo gukora icyemezo ni git kwiyemeza -m “Izina ryiyemeza”.

Itondere! Ubutumwa kumpera yubutegetsi bugomba kuba bufite ireme kandi bwumvikana kubandi bategura umushinga. Ntukavuge ibyo wiyemeje nka “asdfadsf” cyangwa “foobar”. Bitabaye ibyo, ntamuntu numwe uzumva ikintu, kandi ugomba kumara umwanya munini ubisiba.

Intambwe 5. Kurema ishami rishya ishami rishya

Ishami rishya nishami ryuzuye ryumushinga, rigizwe ninshingano zose. Yerekana irekurwa ryibicuruzwa bitandukanye, ariko muri sisitemu yo kugenzura verisiyo. Amashami yemerera umukoresha kwimuka hagati ya “leta” z’umushinga.

Mu gitabo git gitanzwe, ibisobanuro by’amashami ni: “Ishami muri Git na Github ni icyerekezo cyimukanwa kuri kimwe mu bubiko.”

Kurugero, niba umukoresha ashaka kongeramo page nshya kurubuga rwabo, barashobora gukora ishami rishya kururwo rupapuro rwihariye bitagize ingaruka kumubiri nyamukuru wumushinga. Akimara kurangiza, arashobora guhuza impinduka ziva mumashami ye mukingenzi. Kubireba ishami rishya, Git ikurikirana ibyo yiyemeje kuva.
Github niki, uburyo bwo kuyikoresha, uburyo bwo gukora umushinga, gucunga no kugenaNyuma yo gusohoza itegeko, urashobora kwandika git ishami muri konsole kugirango wemeze ishyirwaho ryishami:
getrekt: myproject getrekt $ git ishami ryumuyobozi
*
my-shyashya-ishami Izina ryanjye-ishami ryanjye rifite inyenyeri ryerekana ishami ukoresha ni Kuri.

Icyitonderwa: Mubisanzwe, ishami ryambere cyane rya buri git repo ryitwa “shobuja” (kandi rikoreshwa nka shobuja mumushinga). Mu rwego rwo kurwanya ivanguramoko, bamwe mu bashinzwe iterambere batangiye gukoresha andi mazina ku ishami ridasanzwe, nka “primaire”. Ariko, kenshi na kenshi, abakoresha barashobora kubona “shobuja” cyangwa amazina asa nayo akoreshwa kuri yo.

Birakwiye ko tuzirikana ko ububiko hafi ya bwose bufite ishami ryibanze rishobora gufatwa nkigikorwa cyemewe cyumushinga. Niba ari urubuga, noneho ishami ni verisiyo abakoresha babona. Niba ari porogaramu, noneho ishami ryibanze nisohoka abakoresha bashira kuri mudasobwa yabo cyangwa igikoresho kigendanwa. Nuburyo verisiyo gakondo yibicuruzwa bya Git na Github bikora. Urubuga rwemewe rufite ibisobanuro birambuye kubyerekeye gukoresha amazina atandukanye yishami. Amakuru arahari kuri Github kuri https://github.com/github/renaming
Github niki, uburyo bwo kuyikoresha, uburyo bwo gukora umushinga, gucunga no kugenaMugihe cyo gusubira mumashami yumushinga no gukora ibyemezo byinshi, ishami rishya ntirizakurikiranwa na sisitemu yo kugenzura verisiyo kugeza igihe uyikoresha yanditse byikora bikurikirana .

Intambwe 6Kora ububiko bushya bwa GitHub

Iyi ntambwe ntabwo isabwa niba ushaka gukurikirana code yawe gusa. Ariko niba ukorera mumatsinda kandi ukemera impinduka ziva mubandi ba programmes, noneho urashobora gukoresha ubushobozi bwubu bwa GitHub kugirango uhindure hamwe kode yumushinga. Kurema ububiko bushya kuri GitHub, ugomba kwinjira muri sisitemu hanyuma ukajya kurupapuro nyamukuru rwurubuga. Uhereye kuri menu nkuru, kanda kuri bouton “Ububiko bushya”, buri munsi yikimenyetso cya “+” iruhande rwifoto yumwirondoro mugice cyo hejuru cyiburyo cyo kugendagenda: Nyuma yo gukanda kuri buto, GitHub izabaza nyiri umushinga kuvuga izina ububiko no gutanga ibisobanuro bigufi:
Github niki, uburyo bwo kuyikoresha, uburyo bwo gukora umushinga, gucunga no kugenaIbikurikira, kanda buto “Kurema ububiko” kugirango wemeze ko umushinga mushya. Ikiganiro agasanduku kagaragara kibaza umukoresha niba bashaka gukora ububiko kuva kera cyangwa kongeramo iyari yaremye mugace. Mugihe cya kabiri, ugomba kohereza umushinga wububiko kuri Github.

Itondere! Gukuramo ububiko bwaho birashobora kandi kubaho ukoresheje umurongo wumurongo, kandi cyane cyane amategeko git kure yongeramo inkomoko github_url (ikora inyandiko yerekana ihuza rishya kububiko bwa kure), git push -u inkomoko ya shobuja (ishyiraho isano hagati yishami muri uwatezimbere aherereye hamwe nishami ryibanze kuri seriveri ya kure).

Nibyo ibiti bisa kumurongo wa Git Bash kumurongo:
getrekt: myproject getrekt $ git kure wongere inkomoko https://github.com/cubeton/mynewrepository.git
getrekt: myproject getrekt $ git gusunika -u nkomoko shobora
Kubara ibintu: 3, byakozwe.
Ibintu byo kwandika: 100% (3/3), 263 bytes | 0 bytes / s, byakozwe.
Igiteranyo cya 3 (delta 0), yongeye gukoreshwa 0 ( delta 0)
Kuri https://github.com/cubeton/mynewrepository.git
*

Intambwe 7: Gusunika ishami ryumushinga kuri GitHub

Hashyizweho ishami rishya ryumushinga nububiko. Hasigaye “gusunika” ishami no kuyimurira mububiko bushya bwa Github. Ubu buryo, abanyamuryango-bandi baturage bazashobora kubona kode no kuyihindura. Niba ubugororangingo bwemejwe, nyir’umushinga arashobora guhuza impinduka muburyo bukuru bwumushinga. Kugirango usunike impinduka kumashami mashya kuri GitHub, ugomba kwinjiza git gusunika itegeko kumurongo. GitHub izahita ikora ishami mububiko bwa kure:
getrekt: myproject getrekt $ git gusunika inkomoko yanjye-shyashya-ishami
Kubara ibintu: 3, byakozwe.
Gucomeka kwa Delta ukoresheje insanganyamatsiko zigera kuri 8.
Gucomeka ibintu: 100% (2/2), byakozwe.
Ibintu byo kwandika: 100% (3/3), 313 bytes | 0 bytes / s, byakozwe.
Yose 3 (delta 0), yongeye gukoreshwa 0 (delta 0)

Kuri https://github.com/cubeton/mynewrepository.git * ububiko.
Github niki, uburyo bwo kuyikoresha, uburyo bwo gukora umushinga, gucunga no kugena

Byongeye kandi

Ijambo inkomoko risobanura iki muri git gusunika inkomoko? Iyo umukoresha akoresheje ububiko bwa kure kuri mashini yaho, git irema izina risanzwe kuriyo hafi ya byose, “inkomoko”, mubyukuri ni amagambo ahinnye ya URL yububiko bwa kure. Kohereza umushinga kuri GitHub: https://youtu.be/zM6z57OtR2Q

Intambwe 8. Kora icyifuzo cya mbere cyo gukurura

Gukurura icyifuzo (cyangwa gukurura icyifuzo) nuburyo bwo kumenyesha ba nyiri ububiko ko uwatezimbere ashaka kugira icyo ahindura kuri kode. Nuburyo urupapuro rufite icyifuzo cyo gukurura rwongeweho rusa:
Github niki, uburyo bwo kuyikoresha, uburyo bwo gukora umushinga, gucunga no kugenaNuburyo ibice byigice bisa nyuma yo gukora icyifuzo cyo gukurura:
Github niki, uburyo bwo kuyikoresha, uburyo bwo gukora umushinga, gucunga no kugena

Intambwe 9Huza icyifuzo cyo gukurura

Icyatsi “Guhuza gukurura icyifuzo” buto hepfo ikora icyifuzo cyo gukurura. Nyuma yo gukanda, impinduka zakozwe zongerwaho ishami rikuru ryumushinga.

Itondere! Siba ishami nyuma yo guhuza. Umubare munini muribo urashobora gutera urujijo mumushinga. Kugira ngo usibe ishami, kanda ahanditse imvi “Gusiba ishami” buto iburyo bwiburyo.

Github niki, uburyo bwo kuyikoresha, uburyo bwo gukora umushinga, gucunga no kugenaKugenzura uko ibintu byifashe muri iki gihe, kanda ahanditse “Imihigo” kurupapuro rwambere rwububiko. Kanda bizerekana urutonde rwose rwiyemeje muri iri shami. Igishusho cyerekana neza icyaremwe gusa.
Github niki, uburyo bwo kuyikoresha, uburyo bwo gukora umushinga, gucunga no kugena
Github niki, uburyo bwo kuyikoresha, uburyo bwo gukora umushinga, gucunga no kugenaKuruhande rwiburyo ni hash code ya buri kwiyemeza. Hash code ni indangamuntu idasanzwe ishobora gukoreshwa mugihe uhuza API na serivisi zindi-zindi. Urashobora kandi kwerekeza kumasezerano yihariye numero yindangamuntu kuri desktop ya verisiyo ya Git Bash kumurongo wategeka.

Intambwe 10Kuraho impinduka za Github kumashini yaho

Kuri ubu, ububiko muri sisitemu ya Github busa butandukanye gato n’umukoresha kuri mudasobwa yaho. Kurugero, kwiyemeza umukoresha yakoze kumashami yabo hanyuma agahuzwa mumashami nkuru ntabwo abaho kumashini yaho. Kugirango uhite uhuza verisiyo zitandukanye zumushinga, ugomba gukoresha git gukurura inkomoko master command (mugihe ukora kuri master master) cyangwa git gukurura.
getrekt: myproject getrekt $ git gukurura inkomoko master
kure: Kubara ibintu: 1, byakozwe.
kure: Yose 1 (delta 0), yongeye gukoreshwa 0 (delta 0), paki-yongeye gukoreshwa 0
Kuva kuri https://github.com/cubeton/mynewrepository
* umuyobozi w’ishami -> FETCH_HEAD  
23242..232433berer3444 shobuja -> inkomoko / umutware
getrekt. txt | Idosiye 1 +
1 yarahindutse, kwinjiza 1 (+)Kugenzura imiterere yubu yubuyobozi, andika git log kumurongo. Bizashyira ahagaragara ibyo wiyemeje byose.
Gerekt
_
_
_
_
_
_
_ @
yandex
. _
_
_

kwiyemeza 46thf9496hf9485hkf857tg9hfj8rh4j
Guhuriza hamwe: 33fh5d 3689gfh
Umwanditsi : Mtdes Ethan <getrekt@yandex.ru>
Itariki: Ku wa gatanu Mutarama 07
getrekt@yandex.ru> Itariki: Ku wa gatanu Mutarama 07 17:58:00 2021 -02356 Iki ni cyo cyemezo cyanjye cya mbere! Witegure! Noneho umukoresha amenyereye ubwoko bwose bwimirimo muri sisitemu yo kugenzura verisiyo. Git na GitHub inyigisho kubatangira uburyo bwo kwinjiza Git no gutangirana na Github, amashami, ububiko, imihigo nibindi bitekerezo mubikorwa bya GitHub: https://youtu.be/zZBiln_2FhM





Ibindi bintu biranga Github na Git

Reka turebe izindi “chips” zingirakamaro zizemerera uwitezimbere koroshya akazi kugenzura verisiyo.

Guteranya ububiko bwimashini yaho

Jya mu bubiko bwawe bwa GitHub. Mugice cyo hejuru cyiburyo hejuru yurutonde rwamadosiye, fungura “Clone cyangwa ukuremo” menu yamanutse. Gukoporora URL ya HTTPS.
Github niki, uburyo bwo kuyikoresha, uburyo bwo gukora umushinga, gucunga no kugenaGaruka kuri idirishya rya Git Bash hanyuma wandike itegeko:
git clone ububiko_url

ububiko_url – URL yumushinga uriho kugirango uhindurwe. Ahubwo, url yububiko.

Murugero hejuru, itegeko rikoresha ububiko hejuru ya HTTPS. Ubundi buryo ni clon hamwe na URL hejuru yimfunguzo za SSH. Kugirango ukore ibi, ugomba kubyara SSH urufunguzo rwibanze kuri Windows hanyuma ugenera urufunguzo rusange kuri konte ya GitHub.

Kubona ububiko bwa kure

Nyuma yo gukoroniza, kopi yububiko bwa GitHub igomba kugaragara mububiko bukora kuri mudasobwa. Umushinga ugomba kuba urimo ububiko bufite izina na dosiye nkuru. Kugirango uhindure, ugomba kwandika itegeko rikurikira:
cd git_umushinga

Icyitonderwa: Simbuza git_umushinga nizina nyirizina ryububiko bwakuweho, cyangwa ugaragaze ibiri mububiko bwubu hamwe na ls command. Uburyo bwa kabiri bukoreshwa mugihe umukoresha adashobora kwibuka izina ryumushinga.

Ibiro bya desktop ya GitHub – Ibiro bya GitHub niki, imikorere nyamukuru, ibiranga nuburyo bwo kwishyiriraho

Ibiro bya GitHub ni porogaramu ya desktop itanga imikoranire ya GUI na GitHub. Bitandukanye na Git, verisiyo ya desktop ya GitHub igufasha gukora amategeko amwe ukoresheje interineti yumukoresha ukanze buto, bigatuma byoroha cyane gukorana nububiko.

Nigute ushobora gushiraho

  1. Kurikiza ihuriro – https://desktop.github.com/Github niki, uburyo bwo kuyikoresha, uburyo bwo gukora umushinga, gucunga no kugena
  2. Tangira gukuramo porogaramu yo kwishyiriraho porogaramu.
  3. Kanda inshuro ebyiri kumashusho ya dosiye yakuweho hanyuma ukomeze ushyireho desktop ya Github.
  4. Tangiza gahunda ukoresheje menu yo Gutangira.
  5. Injira muri GitHub ukoresheje ibisobanuro bya konte yawe.

Imikorere nyamukuru

  • Kurema, kongeraho no gukwirakwiza ububiko.
  • Koresha porogaramu yo gucunga imishinga.
  • Guhindura ishami.
  • Gukora ibibazo, gukurura ibyifuzo no kwiyemeza.
  • Ubushobozi bwo kubona verisiyo yambere yibicuruzwa bishya.

Github API

Github REST API ni interineti itanga abitezimbere kubona amakuru ya Github, imishinga, hamwe nububiko, kimwe no kohereza ibyifuzo bya seriveri. Ihuza https://api.github.com/ ikubiyemo URL zose ushobora koherezaho ibyifuzo byoroheje KUBONA:
Github niki, uburyo bwo kuyikoresha, uburyo bwo gukora umushinga, gucunga no kugenaKenshi na kenshi, abashinzwe iterambere bashiraho ibyifuzo mururimi rwa porogaramu ya Python muburyo bwa JSON. Ubwa mbere ugomba kubona amakuru yibanze yerekeye ububiko buva kumurongo – https://api.github.com/user/repos Amakuru yibanze yinjiye muri dosiye iboneza muburyo bwa JSON. Irimo ibipimo nyamukuru byerekeranye numukoresha – avatar, abasomyi, umubare wububiko, gukuramo, nibindi. Aya makuru noneho yoherezwa kuri seriveri.

Gucunga no gushiraho imishinga ya Github

Nyuma yo kwinjizamo, kwandikisha konti, no gushiraho porogaramu, uyikoresha arashobora gutangira gukoresha gahunda ya GitHub.

Kurema, kongeraho no gukoroniza ububiko

Kurema ububiko bushya, hitamo “File” hanyuma ukande buto “Kurema ububiko”. Kugirango wongere umushinga waho, hitamo menu “File” hanyuma ukande ahanditse “Ongera ububiko bwububiko”. Kuri cloni, ugomba guhitamo menu “File” – “Ububiko bwa Clone”.
Github niki, uburyo bwo kuyikoresha, uburyo bwo gukora umushinga, gucunga no kugena

Kurema Ishami Rishya

Kurema ishami ryumushinga utandukanye, fungura igice cyishami kigezweho hanyuma ukande buto yishami rishya. Umukoresha azashobora kubona ishami muri interineti ya GitHub no gukora icyifuzo cyo gukurura impinduka.
Github niki, uburyo bwo kuyikoresha, uburyo bwo gukora umushinga, gucunga no kugena

Umutekano

Ibiro na verisiyo ya Github igufasha gushiraho no kongera urwego rwumutekano wa konte yumukoresha. Imikorere yose iraboneka mugice “cyumutekano cyo kubika” igice. Birakwiye ko dusuzuma muburyo burambuye.

Gushiraho politiki yumutekano

Kurupapuro rwibanze rwububiko bwawe, kanda:

  • “Umutekano” – “Politiki yumutekano” – “Gutangira Gushiraho”.
  • Ongeraho amakuru ajyanye na verisiyo ishigikiwe numushinga wawe nuburyo bwo kumenyekanisha intege nke zishoboka.

Github niki, uburyo bwo kuyikoresha, uburyo bwo gukora umushinga, gucunga no kugena

Gucunga Igishushanyo

Igishushanyo cyo kwishingira gihita kibyara ububiko rusange, ariko ntakintu nkicyo kibika ububiko bwihariye. Igishushanyo cyerekana ibintu byose bigenda biterwa kandi bigufasha kumenya intege nke mumushinga. Gushiraho igishushanyo mbonera, kanda kuri “Igenamiterere” – “Umutekano n’isesengura”. Kurwanya igishushanyo, kanda “Gushoboza” cyangwa “Guhagarika”.

Github niki, uburyo bwo kuyikoresha, uburyo bwo gukora umushinga, gucunga no kugena

Impushya

Uruhushya rwa Github ruteganya gukoresha ubwoko bubiri
bwuruhushya :

  1. GPL ni ubwoko bwuruhushya rwemerera abandi bakoresha gukoresha imirimo yundi muntu mubindi bikorwa bifungura isoko. Ariko, amasosiyete yubucuruzi ntashobora gukora ibi.
  2. LGPL / Commons / MIT / Apache , nibindi – uyikoresha atanga code ye kugirango ikoreshwe kubuntu. Abandi barashobora kubona amafaranga muri yo.


Github niki, uburyo bwo kuyikoresha, uburyo bwo gukora umushinga, gucunga no kugenaAho ubwoko bwuruhushya rwa GitHub bwerekanwe . Intambwe ku yindi twaganiriye ku buryo bwo gukora umushinga wuzuye muri sisitemu yo kugenzura verisiyo.

info
Rate author
Add a comment