Yana da wahala. Yana da wahala lokacin da kuka fara yin wani abu. Musamman lokacin da kuke mu'amala, yin kuskure ba abu ne mai kyau ba. Muna son ƙirƙirar buɗaɗɗen hanya don sababbin mutane don koyo kuma su shiga a karon farko.
Karatun labarai da koyawa kan layi na iya taimaka muku, amma menene ya fi yin ainihin abin? Manufar wannan aikin shine don ba da jagora & ba da damar mutane su fara ba da gudummawa. Idan kuna neman ba da gudummawarku ta farko, bi matakan da ke ƙasa.
Idan ba kwa son alamomin doka, Anan akwai koyawa ta amfani da kayan aikin GUI.
Idan ba ku da inji a kan injin ku, shigar da shi.
Cire wannan repo ta danna maɓallin thumbnail a saman wannan shafin. Wannan zai haifar da ajiyar tsaro guda ɗaya a cikin asusunku.
Yanzu maye gurbin repo akan injin ku. Je zuwa asusun GitHub ɗin ku, buɗe repo don dannawa, danna maɓallin clone sannan danna gunkin alamar.
Bude tasha kuma gudanar da umarni mai zuwa:
git clone "url you just copied"
inda "url ɗin da kuka kwafi" (ba tare da alamar magana ba) shine url don ajiya anan (ƙarshen wannan aikin). Duba matakan da suka gabata don samun url.
Misali:
git clone https://github.com/this-is-you/first-contributions.git
inda this-is-you
shine sunan mai amfani na GitHub. Anan, kuna kwafin abun ciki na ainihin gudummawar GitHub akan kwamfutarka.
Canja zuwa tsarin shugabanci akan kwamfutarka (idan ba ku da shi a can):
cd na farko-gudunmawar
Yanzu, ƙirƙiri reshe ta amfani da umarnin 'git checkout':
git checkout -b <ƙara-sabon-reshe-name>
Misali:
git checkout -b add-alonzo-church
(Sunan reshen ba lallai ba ne a saka kalmar a cikinsa, amma yana da mahimmanci ku haɗa shi saboda manufar wannan reshen shine ƙara sunan ku a cikin jerin sunayen).
Yanzu buɗe fayil ɗin Contributors.md
a editan rubutu, ƙara sunan ku gare shi. Ana haɗe shi zuwa farkon ko ƙarshen fayil ɗin. Saka shi wani wuri a tsakanin. Yanzu ajiye fayil ɗin.
Idan ka je kundin kundin kamfani kuma ka aiwatar da umurnin 'git status', za ka ga cewa akwai canje-canje.
Ƙara waɗannan canje-canje zuwa reshen da kuka ƙirƙira ta amfani da umarnin 'git add':
git ƙara Masu ba da gudummawa.md
Yanzu aiwatar da canje-canje ta amfani da umarnin 'git Committee':
git commit -m "Ƙara <sunan ku> zuwa lissafin Masu ba da gudummawa"
Sauya `' da sunan ku.
Yi canje-canjen ku ta amfani da umarnin 'git push':
git tura asalin <ƙara-sunan-reshen ku>
Sauya <add-your-reshen-name>
da sunan reshe da kuka ƙirƙira a baya.
Idan kun je wurin ajiyar ku akan GitHub, zaku ga maɓallin 'Compare & ja buƙatar'. Danna maɓallin.
Yanzu, yi buƙatar.
Nan ba da jimawa ba zan magance duk canje-canjenku a wannan reshe. Za ku karɓi saƙon sanarwa a duk lokacin da aka yi canji.
Taya murna! Ka kawai karanta uwar garken -> kwafin fitarwa -> gyara -> Zazzage sabis na PR wanda koyaushe za ku hadu a matsayin mai ba da ku!
Duba gudunmawar ku kuma ku raba ta tare da abokanku da mabiyanku ta ziyartar app app.
Kuna iya shiga cikin ma'aikatan mu na abokantaka idan kuna buƙatar kowane taimako ko kuna da tambayoyi. [Haɗa ƙungiyar slack](https://join.slack.com/t/firstcontr🏴ibutors/shared_invite/enQtMzE1MTYwNzI3ODQ0LTZiMDA2OGI2NTYyNjM1MTFiNTc4YTRhZTg4OWZjMzA0ZWYZm
Yanzu, bari mu fara da ba da gudummawa don wasu ayyuka. Mun tattara jerin ayyuka masu sauƙi da tattaunawa da za ku iya farawa. Duba jerin ayyuka da aikace-aikacen yanar gizo.
GitHub Desktop | Visual Studio 2017 | GitKraken | Visual Studio Code | Atlassian Sourcetree | IntelliJ IDEA |