A ka gɛlɛn tuma bɛɛ ni i ye fɛn dɔ kɛ siɲɛ fɔlɔ min na. Siranya min bɛ mɔgɔ la ka filiw kɛ, o tɛ mɔgɔ lafiya fewu, kɛrɛnkɛrɛnnenya la n’aw bɛ jɛ ka baara kɛ ɲɔgɔn fɛ. Nka porogaramu hɔrɔnma diɲɛ ye jɛkafɔ ni baara kɛli ye kuluw kɔnɔ. Ani fana, an b’a fɛ ka dɛmɛ donbaga kuraw bolo minnu bɛ porogaramu fuw la, olu ka se ka kalan nɔgɔya, an kɛtɔ k’aw kalan bolomafara kɛcogo la siɲɛ fɔlɔ.
Barokunw ni kalansenw kalanni bɛ se ka dɛmɛ don, nka mun ka fisa ni k’a ɲini k’a sɔrɔ i ma se ka filiw kɛ? Nin porozɛ in kun ye ka bilasirali kɛ ani ka kalandenw ka dɛmɛ fɔlɔ kɛcogo nɔgɔya. Aw ye aw hakili to a la: ni aw hakili sigilen don, aw bɛ kalan kɛ ka ɲɛ. N’i b’a fɛ k’i ka bolomafara fɔlɔ kɛ, i ka nin fɛɛrɛ ninnu labato dɔrɔn. N bɛ layidu ta ko a bɛna kɛ ɲɛnajɛ ye.
Ni git t i ka ɔridinatɛri kan, a sigi sen kan.
Forok kɛ nin ɲɛbilasɛbɛn in na ni fork butɔni digilen ye ɲɛ sanfɛ. O bɛna kɛ sababu ye ka kunnafonisɛbɛn kopi dɔ dilan i ka jatebɔsɛbɛn kan.
Sisan, i ka nin ɲɛbilasɛbɛn in clone i ka ɔridinatɛri kɔnɔ. Clone button digi o kɔfɛ copier dans le presse-papier taamasiyɛn digi.
Cikan yɔrɔ dɔ da wuli (n’i bɛ Windows kan) walima terminal (n’i bɛ MacOS walima Linux kan) ka nin git cikan ninnu kɛ:
git clone "URL min ye i kopi kɛ sisan"
wali "URL min ye i kopi kɛ sisan" (ni gillemants tɛ) ye url ye min bɛ kɛ ni ɲɛbilasɛbɛn ye. Aw ye tilayɔrɔ tɛmɛnen lajɛ walasa ka URL sɔrɔ.
misale :
git clone https://github.com/votre-nom-d-utilisateur/first-contributions.git
yɔrɔ min na i-tɔgɔ
ye i ka GitHub baarakɛla tɔgɔ ye. Yan i bɛ first-contributions
ɲɛbilasɛbɛn kɔnɔkow kopi ka bɔ GitHub la ka taa i ka ɔridinatɛri kɔnɔ.
Aw bɛ taa poroze ɲɛbilasɛbɛn kura clone (n’aw tɛ yen fɔlɔ):
cd first-contributions
Sisan, bolofara(branch) dɔ dabɔ ni cikan yegit checkout
:
git checkout -b <add-votre-nom>
misale :
git checkout -b add-koffi-sani
(Bolofara tɔgɔ man kan ka kɛ ni add daɲɛ ye, nka a bɛnnen don k’a don a kɔnɔ bawo nin bolofara in kun ye k’i tɔgɔ fara lisi kan.)
Sisan, Contributors.md
file da wuli sɛbɛnnikɛlan dɔ kɔnɔ, k'i tɔgɔ fara a kan, k'a mara. N'i ye cikan-sɛbɛn da wuli ka git status
cikan baara, i b'a ye ko fɛn dɔw b'a la. Aw ye nin bεnkanw Fàra bolofara kan aw ye min Dabɔ sisan ni git add
cikan ye:
git add Contributors.md
Sisan, aw bɛ o fɛn caman Changements (Yɛlɛma) kɛ ni cikan(commade) yegit commit
:
git commit -m "Add <votre-nom> to Contributors list"
ni <add-votre-nom>
bilali ye i tɔgɔ nɔ na
Aw bɛ aw ka fɛn caman Changements (Yɛlɛma) Gɛn ni cikan ye git push
:
git push origin <add-votre-nom>
ni <add-your-name>
bilali ye bolofara min dabɔra ka kɔrɔ, o tɔgɔ bila a nɔ na.
##Aw ye aw ka fɛn caman ci walasa ka segin u kan
N’i taara i ka marayɔrɔ la Github kan, i bɛna Compare & pull request
butɔni ye. Butɔn digi.
Sisan, aw ka sama ɲinini sɛbɛn di
Sɔɔni n bɛna aw ka fɛn caman Changements bɛɛ fara ɲɔgɔn kan ka kɛ nin porozɛ in bolofara belebele ye. I bɛna kunnafoni imɛri sɔrɔ ni farali banna dɔrɔn. I ka tɔnbolofara belebeleba tɛna yɛlɛma nin waati in na. Walasa k’aw ka bolofara ni ne ta ka bɛn, aw bɛ nin fɛɛrɛ ninnu tigɛ.
Fɔlɔ, i ka wuli ka taa bolofara belebeleba(main) la
git checkout main
Ani ka n ka ɲɛbilasɛbɛn url fara a kan i n’a fɔ upstream remote url
:
git yɔrɔjan fara sanfɛ https://github.com/Roshanjossey/fɔlɔ-dɛmɛ
Nin ye fɛɛrɛ ye k’a fɔ git ye ko nin ɲɛbilasɛbɛn in bɔko wɛrɛ bɛ yen ladɛrɛsi kofɔlen na wa an b’a wele ko upstream
. Ni fɛn caman Changements (Yɛlɛma) farala ɲɔgɔn kan, i ka version kura ɲini n ka ɲɛbilasɛbɛn kɔnɔ:
git fetch upstream
Yan an bɛ fɛn caman sɛmɛntiya n ka bolofara kɔnɔ (upstream remote). Sisan i ka kan ka n ka ɲɛbilasɛbɛn lajɛlen kura fara ɲɔgɔn kan i ka bolofara belebele kɔnɔ:
git rebase upstream/main
Yan, i ye fɛn minnu ɲini, an bɛ olu bɛɛ waleya bolofara belebeleba la. N’i ye bolofara belebele gɛlɛya sisan, i ka bolofara fana bɛna fɛn caman Changements:
git push origin main
Kɔlɔsili: Nin sen in na, i bɛ ka gɛlɛya ka taa yɔrɔjan ɲɛbilasɛbɛn na min bɛ wele ko origin.
Nin hakɛ in na n y'i ka bolofara <add-your-name>
fara n ka bolofara belebele kan, wa i ye n bolofara belebele fara ɲɔgɔn kan n'i ka bolofara belebele ye. I ka bolofara <add-your-name>
nafa tɛ yen tugun, o la i bɛ se k'a bɔ yen:
git branch -d <add-votre-nom>
ani i bɛ se k’a bɔko bɔ yɔrɔjan ɲɛbilasɛbɛn kɔnɔ fana:
git push origin --delete <add-votre-nom>
O tɛ wajibi ye, nka bolofara tɔgɔ b’a jira ko a sinsinnen bɛ fɛn kɛrɛnkɛrɛnnen kan kosɛbɛ. A si bɛ se ka kɛ waati surun ye.
GitHub Desktop | Visual Studio 2017 | GitKraken | Visual Studio Code | Atlassian Sourcetree | IntelliJ IDEA |
Aw bɛ se fana ka fara an ka jɛkulu kan Slack kan ni aw mago bɛ dɛmɛ na walima ni ɲininkali dɔw bɛ aw fɛ. Rejoindre l'équipe sur Slack