How To Go About The Printf Project
How To Go About The Printf Project
The truth must be said that the printf project is indeed challenging. I struggled with
mine as well, after a whole lot of research I was able to understand the concept of
collaboration, and boom, that was it. I won’t lie, i didn’t write all the codes by myself,
with the help of some other resources, i did.
I came to realise that the main goal of alx in this printf project is not even the writing of
codes, but the Art of collaboration.
In this guide I will take my precious time and document to you how you can collaborate with
your partner, to resolve the conflict between you and the printf project.
First of all, make sure that your repo is clean. What I meant is this, you and your partner
might have tried working on the project, so if your repo is not clean and you try to follow the
instructions I'll provide, things might get complicated for you. Please this is important
●
● Click on Add as a collaborator
The collaborators part
After all of this, the collaborator will receive a maile. Click on the mail, you will be redirected
to that github repo. And now you are set up to start working on your project.
I will share with you the two easiest and common ways to
collaborate on a github project.
One Branch Method
The first method is what I called the One branch method. The reason why I called it the one
branch method is because both you and your partner will work on it in the same branch,
which is the main or master branch(same things). Here is a total beginner friendly guide on
how to use the One Branch Method. Please there are about 4 different ways to collaborate
on github, but i’ll be sharing only the most vital and useful ones(Two)
Note: If you don’t pull, where need, and you push you’ll have error that if you are not smart
enough you’ll be stuck, remember this is the Art of collaborating, you and your partner
should wait for each other, be patient, don’t rush, remind each other if they have git pulled or
pushed, else you end up having errors that will lead to a zero score.
Remember, the goal is to have a 60/40 percent contribution, else you score zero.
Continue this process till you finish all the tasks, it’s about twelve or so in Numbers.
Very Important
The codes won’t check if you have not completed the task, so don’t border checking codes
till you are done with the tasks.
This method is more flexible compared to the New branch Method.
B. CREATE A BRANCH
1. Click drop down at the top of file list that says branch: master.
2. Type a branch name, readme-edits, into the new branch text box.
3. Select the blue Create branch box or hit “Enter” on your keyboard. Notice you
are now on the code view of your readme-edits branch, which is a copy of
master.