Git ndi chida cha mzere wolamula pakuwongolera mtundu, ndiye kuti, kusunga mbiri yakusintha komwe wogwiritsa ntchito amapanga mafayilo. Nthawi zambiri amagwiritsidwa ntchito popanga mapulogalamu, koma angagwiritsidwe ntchito nthawi zina, mwachitsanzo, opanga amagwiritsa ntchito Git kusunga mitundu yosiyanasiyana ya zojambula ndi masanjidwe. Git imakupatsani mwayi wobwezeretsanso pulogalamu ku mtundu wakale, kufananiza ndi kusanthula zosintha.
- Git kwa oyamba kumene: mawu oyambira ndi malingaliro, kalozera woyambira
- Momwe Git Imagwirira Ntchito
- Kukhazikitsa Git
- Kukonzekera kwa Git
- Kupanga Malo Anu Oyamba a Git
- Nthawi Yoyenera Kudzipereka
- Gwirani ntchito pama projekiti a Git
- Vuto lodziwika bwino mukamagwira ntchito ndi Git
- Malamulo othandiza – Malamulo a Git
- Mapulogalamu a GUI ogwirira ntchito ndi Git
- GitHub Desktop
- Sourcetree
- GitKraken
- Kugulitsa Maboti pa GitHub – Bot Github Open Source
- Python Trading Robot
- Kugulitsa bot Cassandre
- Mtengo wa EA31337
Git kwa oyamba kumene: mawu oyambira ndi malingaliro, kalozera woyambira
Musanayambe kugwira ntchito ndi Git, muyenera kumvetsetsa kuti posungira, kudzipereka, ndi nthambi ndi chiyani.
Malo osungira ndi malo omwe code kapena deta ina imasungidwa, komanso mbiri ya kusintha kwawo. Pulogalamu ya Git imayenda kwanuko ndipo zidziwitso zonse zimasungidwa pakompyuta yanu, koma mutha kugwiritsanso ntchito ma intaneti. Odziwika kwambiri mwa iwo ndi Github. Pali ena awiri odziwika bwino: Bitbucket ndi GitLab.
Kudzipereka ndi chithunzithunzi cha momwe polojekiti ikuyendera panthawi inayake. Ili ndi ID yapadera komanso ndemanga.
Nthambi ndi mbiri ya kusintha komwe kunapangidwa ku polojekiti. Ili ndi dzina lake ndipo imakhala ndi zochita. Malo osungira amatha kukhala ndi nthambi zingapo zomwe zimachoka kapena kuphatikiza ndi nthambi zina.
Momwe Git Imagwirira Ntchito
Tiyeni tiwone momwe makina osungira a Git amapangidwira, pogwiritsa ntchito chojambula chosavuta monga chitsanzo.
Apa mabwalo akuyimira zochita, ndipo mivi ikuwonetsa yomwe imatanthawuza. Popeza aliyense amatchula zam’mbuyo, C3 ndi yatsopano kwambiri, C2 ndiyo yakale kwambiri, ndi zina zotero, mpaka yoyamba mu nthambi iyi ya C0. Iyi ndi nthambi ya master, yomwe nthawi zambiri imatchedwa master. Rectangle yolembedwa main* mkati imawonetsa ntchito yomwe mukugwira ntchito pano. Pachithunzichi, mukuwona graph yosavuta yokhala ndi nthambi imodzi ndi ma commits anayi. Git imathanso kugwira ntchito ndi ma graph ovuta omwe amaphatikiza nthambi zingapo zomwe zimatha kuphatikiza kukhala imodzi.
Kukhazikitsa Git
Git ndi chida chothandizira chomwe chimatha kugwira ntchito pa Windows, Mac OS, ndi Linux. Tidzakuuzani momwe mungayikitsire aliyense wa iwo. Kuti muyike pansi pa Windows OS, muyenera kutsitsa pulogalamuyi kuchokera patsamba lovomerezeka https://git-scm.com/downloads ndikuyiyika.
Ngati muli ndi Mac OS ndikuyika woyang’anira phukusi la Homebrew, lowetsani lamulo:
brew install git Ngati Homebrew sinayikidwe, ndiye thamangani:
git –version Pambuyo pake, pawindo lomwe likuwonekera, mudzapemphedwa kuti muyike Zida za Line Line. . Git idzakhazikitsidwanso ndi izi. Kwa Linux Debian ndi magawo ena kutengera mtundu uwu, monga Ubuntu kapena Mint, lamulo lotsatirali likufunika kukhazikitsa:
sudo apt install git .Kwa Linux CentOS, muyenera kulowa:
sudo yum install git Kodi Git ndi chiyani, kukhazikitsa ndi kasinthidwe – kukhazikitsa: https://youtu.be/bkNCylkzFRk
Kukonzekera kwa Git
Mukakhazikitsa Git, muyenera kuyikonza kuti nthawi iliyonse mukapanga chochita, dzina la wolemba likuwonetsedwa. Kuti muchite izi, thamangani git ndikuchita lamulo:
git config –global user.name ”
Author
“ Pano, m’malo mwa “Wolemba”, timayika dzina lathu, mwachitsanzo, “Ivan_Petrov”. Pambuyo pake, mutha kukhazikitsa imelo ndi lamulo ili:
git config –global user.email “You_adr@email.com” Pankhaniyi, m’malo mwa “You_adr@email.com” tikuwonetsa imelo yeniyeni. [id id mawu = “attach_13099” align = “aligncenter” wide = “663”]
GIT filesystem[/caption]
Kupanga Malo Anu Oyamba a Git
Kuti mupange posungira, choyamba pitani ku foda ya polojekiti. Mwachitsanzo, pa Windows izi zitha kukhala D:/GitProject. Lowetsani lamulo:
cd
d:\GitProject Pambuyo pake, pangani chosungira:
git init Pambuyo pake, onjezani mafayilo onse:
git add –all Kuti muwonjezere fayilo inayake, lowetsani:
git add filename Tsopano mutha kupanga chopereka:
git commit -m “ndemanga” Zolemba zina pakupanga kosungira:
- Malo osungira amatha kukhala ndi mafayilo ambiri ndi zikwatu (makamaka chikwatu chokhazikika).
- Ndi bwino kukhala ndi malo osiyana pulojekiti iliyonse.
- Osapanga zikwatu zosungira mkati mwankhokwe ina (peŵani nkhokwe za matryoshka!).
- Zosintha zomwe zasinthidwa ku zikwatu zosungirako “zimatsatiridwa” ndi Git, koma zosinthazi ziyenera kuwonjezeredwa kunkhokwe kuti zitsatidwe kapena kujambulidwa.
- Mutha kuwongolera zinthu zomwe Git “amawonera”. Ndikwabwino kunyalanyaza ma dataset akulu kwambiri kapena mafayilo osakhalitsa.
[id id mawu = “attach_13120” align = “aligncenter” wide = “725”]
Git repository[/caption]
Nthawi Yoyenera Kudzipereka
Kudzipereka ku Git kumalimbikitsidwa pamilandu iyi:
- zatsopano zowonjezeredwa ku polojekitiyi;
- zovuta zonse zakonzedwa;
- mukutseka lero ndipo mukufuna kusunga zosintha zanu.
Gwirani ntchito pama projekiti a Git
Tiyerekeze kuti inu ndi anzanu munabwera ndi ntchito yatsopano ndipo mwaganiza zogawana maudindo. Mmodzi adzakhala ndi udindo pa ntchito, winayo pakupanga ndi kupanga, wachitatu kulembetsa, kuvomereza ndi chitetezo. Pankhaniyi, muyenera nthambi. Monga tanena kale, nthambi ndi gulu lazinthu zomwe zikuyenda motsatizana. Nthambi yaikulu imatchedwa mbuye. Nthambi zina ndizokhazikitsa zatsopano kapena kukonza zolakwika. Chifukwa chake, munthambi ina, mutha kusintha chilichonse, ndikuphatikiza ndi yayikulu. Akatswiri ambiri samalangiza kupanga mabizinesi munthambi yayikulu, koma amalimbikitsa kupanga yatsopano, kusintha momwemo ndikuyiphatikiza kukhala master. Kuti muyambe nthambi yatsopano, muyenera kuyendetsa lamulo:
git nthambi
bugFixIzi zitha kuchitikanso ndi lamulo ili:
git Checkout -b
bugFix
Njira yachiwiri imasiyana ndi yoyamba chifukwa pamenepa, mutapereka lamulo, nthawi yomweyo mumalowa munthambi yopangidwa.
Ndi bwino kutchula nthambi yatsopanoyo mwachidule, koma nthawi yomweyo dzina lokwanira komanso lomveka bwino kuti muteteze chisokonezo mu polojekiti. Mukamagwiritsa ntchito makina anu, mutha kufotokoza chizindikiritso musanatchule dzina lantchito. Komanso, musaiwale kusiya ndemanga yanu muzochita zilizonse zomwe mumapanga, zomwe ziyenera kuwonetsa zomwe zasintha. Kuti musunthe kuchokera ku nthambi ina kupita ku ina, muyenera kuyendetsa lamulo ili:
git checkout
new
_1 Mukamaliza ntchito, zosintha zomwe zasinthidwa kunthambi yamakono ziyenera kuphatikizidwa kukhala master, masters. Kuti muchite izi, fufuzani kaye nthambi ya master pogwiritsa ntchito lamulo:
git checkout master Pambuyo pake, sinthani nthambi yakomweko:
git
pull
origin
masterTsopano mutha kuphatikiza nthambi:
git
merge
bugFix Lamulo ili likuwonjezera zosintha kuchokera kunthambi yomwe yatchulidwa mu (bugFix) lamulo kunthambi yomwe muli, pankhaniyi master. Kuti muwone momwe nthambiyi ilipo, muyenera kuyika lamulo:
git status Kuti ogwiritsa ntchito ena omwe akugwira ntchitoyo awone zosintha zomwe zasinthidwa, muyenera kuwakankhira ku seva. Kuti muchite izi, muyenera kupita ku nthambi yomwe mukufuna kukankhira ku github. Kuti mulowe mbuye, yendetsani lamulo:
git checkout master Pambuyo pake, mukhoza kukankhira ku seva ya Github:
git push origin masterKuti munthu wina apeze mwayi wogwira ntchitoyo, mukufunikira ntchito yosungirako code, mwachitsanzo, Github. Ngati mwalowa nawo ntchitoyi posachedwa ndipo muyenera kuzitsitsira nokha, yendetsani lamulo:
git clone https://github.com/…/….git
Apa https://github.com/…/….git ndiye adilesi ya malo osungira. Itha kupezeka potsegula ntchito yomwe mukufuna ndikudina batani la “Code” lobiriwira.
Malangizo ofunikira!
Ndikofunikira kuti musinthe masters pamakina anu am’deralo musanapange nthambi yatsopano. Kuti muchite izi, lowetsani nthambi yomwe mukufuna ndikuyendetsa lamulo ili:
git pull origin master Zotsatira zake, zosintha zenizeni zidzatsitsidwa kuchokera ku github. Momwemonso, mutha kusintha nthambi iliyonse. Kuti musinthe nthambi zonse zomwe zilipo, mutha kuyendetsa lamulo:
git pull
Vuto lodziwika bwino mukamagwira ntchito ndi Git
Mukayesa kuphatikiza zosintha, zitha kuchitika kuti nthambi zonse ziwirizo zisintha pamzere womwewo mukamayendetsa lamulo:
git merge master Cholakwika chotsatirachi chikuwoneka:
Auto-merging Hello.py CONFLICT
(zamkati): Gwirizanitsani mikangano mu Moni.py Kuphatikizika kokha
kwalephera; konzani mikangano ndiyeno perekani zotsatira zake. Pankhaniyi, muyenera kuthetsa kusamvana pamanja. Kuti muchite izi, tsegulani fayilo yomwe cholakwikacho chidachitika, kwa ife ndi Hello.py, dziwani chomwe chalakwika ndikuthetsa. Pambuyo pake, onjezani fayilo yokonzedwa ndi lamulo:
git add
Hello
.
py Ndipo pangani kudzipereka kwatsopano:
git commit -m “Migwirizano Yophatikizidwa”
Malamulo othandiza – Malamulo a Git
Mutha kudziwa momwe nthambi yapansi imasiyanirana ndi ina pogwiritsa ntchito lamulo:
git
diff < first_branch > <second_branch> Kuti muchotse nthambi yowonjezera, lembani:
branch_namegit branch -d <
git help Pezani thandizo pa lamulo linalake:
git thandizo <command_name> Git ndi GitHub oyambitsa maphunziro – zomwe muyenera kudziwa za kukhazikitsa, momwe mungayikitsire, kuchita, chosungira, malamulo, momwe mungapangire, kuchotsa ndi kusintha ku nthambi: https: //youtu.be/zZBiln_2FhM
Mapulogalamu a GUI ogwirira ntchito ndi Git
Ndikosavuta kuyang’anira mitundu yamapulogalamu osati kudzera pamzere wolamula, koma kugwiritsa ntchito mawonekedwe azithunzi. Madera ena achitukuko ndi okonza zolemba amapereka mawonekedwe owoneka bwino ogwirira ntchito ndi Git. Koma palinso mapulogalamu apadera, timalemba ena mwa iwo:
- GitHub Desktop ndi pulogalamu yachithunzi yopangidwa kuti igwire ntchito ndi Git utility ndi ntchito ya Github, imatha kufananiza ndikutsitsa zosungira pa hard drive yanu, ndikuwongolera kusintha ndikuchita zinthu zina zothandiza.
- Sourcetree ndi kasitomala waulere wa Git wamakina ogwiritsira ntchito Windows ndi Mac zomwe zimapangitsa kuti zikhale zosavuta kulumikizana ndi nkhokwe.
- GitKraken ndi kasitomala wosavuta kugwiritsa ntchito wa Windows, Linux ndi MacO omwe amathandizira ntchito za GitHub, GitLab ndi Bitbucket. Ndi izo, simungathe kuthetsa ntchito zofunika, komanso kuchita ntchito zovuta kwambiri, mwachitsanzo, kuphatikiza ndi kukonzanso zochita, kuphatikiza nthambi, kulembanso mbiri.
Tiyeni tikambirane mwatsatanetsatane za aliyense wa iwo.
GitHub Desktop
[id id mawu = “attach_12709” align = “aligncenter” wide = “624”]
Kuwongolera ndi kukonza mapulojekiti Github Desktop[/caption] GitHub Desktop ndi pulogalamu yapakompyuta yanu yomwe imakupatsani mwayi wolumikizana mwachindunji ndi ntchito ya Github. Chida ichi chimakupatsani mwayi wowongolera matembenuzidwe pogwiritsa ntchito mawonekedwe azithunzi, kufulumizitsa kachitidwe kanu kachitukuko. GitHub Desktop imakupatsani mwayi wolumikizana ndi Git osagwiritsa ntchito mzere wolamula, kugwiritsa ntchito mawonekedwe ogwiritsira ntchito. Ndizofunikira kudziwa kuti pulogalamu ya GitHub Desktop singachite chilichonse chomwe chingachitike ndi mzere wolamula, koma mawonekedwe ogwiritsira ntchito pawokha amapereka malamulo oyambira a Git. GitHub Desktop imagwira ntchito pamakina onse otchuka, kuphatikiza Windows, Linux, ndi macOS. Tikuwuzani momwe mungayikitsire GitHub Desktop ndikugwira ntchito ndi pulogalamuyi. Kuti mugwiritse ntchito ntchito ya GitHub ndi pulogalamu ya GitHub Desktop, Muyenera kupanga akaunti ya Github ngati mulibe kale. Kuti muchite izi, pitani ku GitHub. Pakona yakumanja yakumanja, muwona batani lomwe likuti “Lowani”.
Dinani pa izo kupita patsamba lotsatira. Muyenera kuyika zambiri zanu, kuphatikiza imelo yanu, dzina lolowera, ndi mawu achinsinsi. Pagawo lotsatira, mudzafunsidwa kuti mutsimikizire akaunti yanu podina ulalo womwe uli mkati mwa imelo yomwe idabwera ku adilesi yotchulidwa. Mukatsimikiziridwa, akaunti ya GitHub idzapangidwa ndipo mutha kuyamba kugwiritsa ntchito nsanja. Ndi akaunti yanu ya GitHub yokhazikitsidwa, mwakonzeka kukhazikitsa pulogalamu ya GitHub Desktop pa kompyuta yanu. Kuti muchite izi, tsegulani tabu yatsopano mu msakatuli wanu ndikupita patsamba lotsitsa pulogalamu.
Ogwiritsa ntchito Windows akuyenera kudina batani lalikulu lofiirira lomwe limati “Koperani kwa Windows”, koma ngati ndinu wogwiritsa ntchito Mac, muyenera kupeza mzere womwe umati macOS pansi pa batani ndikudina. Iyenera kukhala macOS 10.12 kapena mtsogolo kapena 64-bit Windows. Mukatsitsa, muyenera kuyika pulogalamuyo, kenako lowetsani ndi akaunti yomwe idapangidwa kale. Simukuyenera kulowa muakaunti yanu nthawi yomweyo, koma ndi bwino kutero tsopano. Kuti mupange malo atsopano, tsegulani GitHub Desktop ndikudina pabokosi lachiwiri lomwe lili pansi lomwe likuti “Pangani Malo Atsopano pa Hard Drive yanu”. Zenera la pop-up lidzawoneka lomwe likufunika kudzazidwa – yambani ndikutchula malo oyamba. Mukasankha dzina, mudzafunikanso kusankha komwe lidzakhala pa kompyuta. Mutha kuwonanso bokosi lomwe likuti “Yambitsani chosungirachi ndi README” ngati mukufuna kusintha fayilo ya README yokha pambuyo pake. Pambuyo pake, dinani “Pangani Repository”. Zotsatira zake, mwapanga chosungira chatsopano cha Git pogwiritsa ntchito pulogalamu ya GitHub Desktop osagwiritsa ntchito msakatuli.
Pamwamba pa tsamba latsopano, muwona dzina la malo osungira ndi nthambi. M’malo mwake, pakali pano chosungiracho chikupezeka pa kompyuta yanu. Kuti tiyisindikize, tiyenera kudina “Publish Repository”. Malo atsopanowa adzawonekera mu mbiri yanu ya github. Mutha kugwiritsa ntchito pulogalamu ya GitHub Desktop kuti muyambe ntchito yanu. Kuti muchite izi, dinani “Nthambi Yapano”, ndiyeno sankhani nthambi yomwe mukufuna pamndandanda wanthambi, tchulani ndikudina “Pangani”. Kuti musinthe pakati pa kuwala ndi maziko akuda, pitani ku Zosankha, Mawonekedwe. Mutha kugwiritsa ntchito pulogalamu yapakompyuta kuti mupange ntchito zogwirira ntchito limodzi ndi ena. Mafunso amakulolani kuti muzisunga malingaliro ndikukambirana zosintha zilizonse pama projekiti anu. Kuti mupange vuto, mu bar ya menyu, gwiritsani ntchito menyu ya “Repository”, kenako dinani “Pangani Nkhani”.
Kapenanso, mutha kuyambitsa GitHub Desktop kuchokera pamzere wamalamulo. Kuti muchite izi, tsegulani mwachangu ndikulemba Github. Mutha kuyambitsanso GitHub Desktop motsutsana ndi malo enaake. Ingolembani Github ndikutsatiridwa ndi njira yosungira.
Sourcetree
SourceTree ndi pulogalamu yaulere yogwira ntchito ndi GitHub, BitBucket ndi Mercurial services. Imapezeka pamapulatifomu omwe akuyendetsa Windows ndi iOS. Sourcetree ndiwothandiza poyambira. Ili ndi GUI yodziwika bwino ya nkhokwe ndipo imakulolani kugwiritsa ntchito mphamvu zonse za Git kudzera mu mawonekedwe osavuta. Kuti muyike SourceTree, muyenera kutsitsa fayilo yoyika patsamba lovomerezeka ndikuyiyendetsa. Pakukhazikitsa, muyenera kulola pulogalamuyo kuti isinthe pa hard drive, kuvomereza mgwirizano wa laisensi. Komanso pakukhazikitsa, SourceTree ikhoza kukufunsani ngati mukufuna kukhazikitsa mapulogalamu ena owonjezera a git. Muyenera kunena “Inde” ndikuyika pulogalamuyo. Pali njira ziwiri zolumikizirana ndi ntchito ya Github:
- Kupyolera mu OAuth chilolezo protocol.
- Ndi kiyi ya SSH.
Tiye tikambirane za aliyense wa iwo. Njira yoyamba ndikulumikiza GitHub ndi akaunti yakutali. Lolani SourceTree kulumikiza akaunti yanu ya GitHub ku OAuth. Iyi ndiye njira yosavuta yolumikizira GitHub ku SourceTree.
- Choyamba dinani “Onjezani akaunti”.
- Kenako sankhani GitHub kuti mugwire. Osasintha ma protocol ndi kutsimikizika komwe mukufuna, ndiye kuti, siyani HTTPS ndi OAuth. Kenako dinani “Refresh OAuth Token”. Pulogalamuyi imangotsegula tsamba lawebusayiti mu msakatuli wanu ndikufunsani zambiri za akaunti yanu ya GitHub. Ngati mudalowa muakaunti yanu ya GitHub mu msakatuliyu, sitepe iyi ilumphidwa.
- Dinani “Authorize atlassian” kuti mulole SourceTree kupeza akaunti yanu ya GitHub.
- Pambuyo pake, muyenera kuwona uthenga wokhudza kukwaniritsidwa kwachitsimikiziro. Dinani Chabwino.
Mutha kuwona malo anu onse ku SourceTree podina pa akaunti yanu.
Njira yachiwiri ndikulumikiza GitHub ndi kiyi ya SSH. Kuti muchite izi, muyenera kupanga makiyi a SSH. Iyi ndi kiyi yachinsinsi komanso yapagulu. Kiyi yapagulu imagwiritsidwa ntchito mu akaunti ya GitHub. Kumbali ina, kiyi yachinsinsi idzawonjezedwa pamndandanda wamakiyi pakompyuta yanu. Nawa malangizo:
- Kuti mupange makiyi a SSH, pitani ku menyu ya “Zida” ndikudina “Pangani kapena Tengani Makiyi a SSH”.
- Dinani “Pangani” pawindo la jenereta la PuTTY.
- Sunthani cholozera cha mbewa pamalo opanda kanthu, ndikusuntha cholozera cha mbewa mpaka kumapeto kwa m’badwo.
- Mukamaliza kupanga kiyi ya SSH, ikani mawu achinsinsi pa kiyi yanu ya SSH.
- Sungani kiyi yapagulu ndi kiyi yachinsinsi.
- Osatseka jenereta ya PuTTY. Lowani muakaunti yanu ya GitHub, dinani chizindikiro chanu cha avatar pakona yakumanja yakumanja, kenako dinani Zikhazikiko.
- Dinani pa “makiyi a SSH ndi GPG” ndikusankha “kiyi Yatsopano ya SSH”.
- Perekani kiyi yanu ya SSH dzina ndikukopera kiyi yapagulu kuchokera pa jenereta ya makiyi a PuTTY kupita kumalo ofunikira. Pambuyo pake, dinani “Add SSH Key”.
- Bwererani ku SourceTree, pitani ku “Zida” ndikudina “Launch SSH Agent”.
- Patapita kanthawi, dinani chizindikiro chaching’ono choyang’anira pa taskbar.
- Zotsatira zake, mndandanda wa makiyi udzawonekera. Dinani “Add Key” kuti muwonjezere kiyi yachinsinsi yomwe mudasunga kale.
Tsopano bwererani ku tsamba la GitHub ndikuyesa kulipanga pogwiritsa ntchito SSH. https://articles.opexflow.com/programming/chto-takoe-github-kak-polzovatsya.htm
GitKraken
GitKraken ndi pulogalamu ina yopangidwa kuti igwire ntchito ndi machitidwe osiyanasiyana owongolera pogwiritsa ntchito GUI. Kuti muyambe, muyenera kulembetsa pa GitHub ndikuyika pulogalamu ya GitKraken. Mukayamba kugwiritsa ntchito, muyenera kuyika dzina lanu lolowera ndi mawu achinsinsi kuchokera ku ntchito ya GitHub. Kuti musalowe mawu achinsinsi nthawi zonse, muyenera kukhazikitsa kiyi ya SSH. Ngati mulibe kiyi ya SSH yopangidwa kale, mutha kutsatira kalozera wa GitHub popanga kiyi yatsopano. Mukakhala ndi kiyi yanu ya SSH, mutha kuwonjezera ku akaunti yanu ya GitHub. Kuti tichite zimenezi, kusankha “Fayilo” ndiye “Zokonda” kuchokera waukulu menyu. Kenako sankhani “Kutsimikizika” ndikupereka njira zamakiyi anu apagulu ndi achinsinsi. Gawo loyamba pakusindikiza zilizonse ku GitHub ndikupanga malo osungiramo zinthu zakale kuti muzitsatira ntchito yanu. Foda iyi ikhala ndi mafayilo onse zomwe mukufuna kufalitsa ku GitHub. Muyenera kutsatira malangizo:
- Kuti mupange malo atsopano ku GitKraken, sankhani “Fayilo” kuchokera kumenyu yayikulu, kenako “Init Repo”. Padzakhala zosankha zingapo zamitundu yosiyanasiyana ya nkhokwe, sankhani “Local Only”.
- Kenako sankhani chikwatu chomwe chikhale chosungira chanu chatsopano. Mutha kusankha chikwatu chopanda kanthu kapena chikwatu chomwe chili ndi mafayilo; simudzataya zosintha zanu.
- Bokosi lotsatira la zokambirana lilinso ndi zoikamo za ma template osasinthika ndi mafayilo alayisensi. Siyani zonse momwe zilili.
- Dinani “Pangani Repository”.
Simufunika akaunti ya Github kuti mugwiritse ntchito Git (kapena GitKraken) kwanuko pakompyuta yanu. Komabe, ngati mukukonzekera kuyanjana ndi ogwiritsa ntchito ena, kapena kugwiritsa ntchito mafayilo kuchokera pamakompyuta angapo, muyenera kugwiritsa ntchito wolandila monga Github. Kuti mupange posungira pa GitHub, mutadina “Init Repo”, sankhani mzere “GitHub” ndikudzaza zenera lomwe likuwoneka motere:
- Akaunti – Dzina la akaunti yanu ya GitHub.
- Dzina – dzina la posungira. Lembani kuchokera ku zilembo, manambala ndi ma underscores.
- Kufotokozera – Kufotokozera zomwe nkhokweyi ikhala nayo.
- Kufikira – kupeza malo akutali, kaya akuyenera kuwoneka kwa aliyense kapena kukhala otseguka kwa inu nokha ndi anthu omwe mumawawonjezera ngati othandizira
- Clone pambuyo pa init – siyani izi kuti zitsimikizidwe, zomwe zingapangitse kuti malowa apezeke kwa inu pa GitHub.
- Komwe mungapangire – sankhani malo pakompyuta pomwe chikwatu chokhazikitsidwa chatsopano chiyenera kuyikidwa.
- Pomaliza, dinani batani la “Pangani Posungira ndi Kujambula” .
Pambuyo pake, chikwatu chatsopano chidzawonekera pakona yakumanzere kwa mawonekedwe a GitKraken, ndipo titha kuwona zambiri za izo kumanzere. Mukalumikiza GitHub ku GitKraken, onetsetsani kuti chilolezo chikuchitidwa mu Chrome kapena Firefox, osati Internet Explorer.
Kugulitsa Maboti pa GitHub – Bot Github Open Source
Dongosolo lowongolera mtundu wa Git limagwiritsidwa ntchito, mwa zina, kupanga
maloboti ogulitsa . Nazi zitsanzo za zochitika zoterezi zomwe mungathe kutsitsa ndikuzigwiritsa ntchito.
Python Trading Robot
Roboti yogulitsira yolembedwa mu Python ikupezeka https://github.com/areed1192/python-trading-robot, yomwe imatha kuyendetsa njira zodzipangira pogwiritsa ntchito kusanthula kwaukadaulo. Lobotiyi idapangidwa kuti iwonetsere zochitika zingapo zodziwika bwino: Imatha kuwerengera ziwopsezo zonse zomwe zimalumikizidwa ndi mbiri ndikupereka ndemanga zenizeni pakugulitsa. Zimakulolani kuti mugwire ntchito ndi tebulo la nthawi yeniyeni lomwe lili ndi mitengo yakale komanso yamakono pamene ikusintha. Idzapangitsa njira yosungiramo deta kukhala yosavuta komanso yofikira mwachangu. Kuonjezera apo, idzasinthidwa kuti muwone mosavuta deta yanu yachuma pamene ikubwera ndikuchita kusanthula kwina ngati kuli kofunikira. Lili ndi zizindikiro zomwe zimagwiritsa ntchito mitengo yakale komanso yamakono.
Kugulitsa bot Cassandre
Ulalo wa robot ya Cassandre ku GitHub https://github.com/cassandre-tech/cassandre-trading-bot – amatha kusamalira kulumikizana ndi kusinthanitsa, maakaunti, maoda, malonda ndi maudindo, kuti mutha kuyang’ana kwambiri pakumanga njira. Kutulutsidwa kulikonse kumayesedwa kuti agwire ntchito ndi Kucoin, Coinbase ndi Binance kusinthanitsa. Ndi izo, n’zosavuta kupanga njira yanu, chifukwa cha izi mumangofunika kukhazikitsa mikhalidwe pamene mukufuna kupanga maudindo aifupi kapena aatali ndikukhazikitsa malamulo. Pali chojambulira choyesa bot pa mbiri yakale. Pamayeso, Cassandre adzalowetsa deta ndikuyiwonjezera ku njira yanu. Cassandre adzakuthandizani kupanga njira kutengera laibulale yaukadaulo ya ta4j.
Mtengo wa EA31337
EA31337 Libre pa https://github.com/EA31337/EA31337-Libre ndi loboti yaulere yamitundu yambiri ya Forex yolembedwa mu MQL. Roboti yogulitsa imabwera ndi njira zopitilira 35 zomwe mungasankhe. Njira iliyonse imatha kusanthula msika pa nthawi zosiyanasiyana paokha. Kusanthula kwa msika kumatengera zizindikiro zodziwika bwino zaukadaulo. Mukhozanso kulemba njira zanu.
Robot kevirite. Banavo