If you want to be part of the premium github club (PGC), you should go through the following challenges and prove your mastery of Git/Github to the team.
- What's your nickname? … Seriously? Among all the possibilities you chose that?
Anyway, let's start.
Let's warmup quickly before the real deal.
- Create a new empty repo on Github.com following the lab's naming rules
- Clone it on your computer
- In the project folder, create a new file, such as « made.it »
- Stage it, and commit it with proper message convention
- From the HEAD, create a branch, using our naming convention.
- Checkout on the new branch
- Create a new file, such as «may.be»
- Stage and commit properly
- Type
git log
- Checkout on master and type
git log
- Push the «master» branch on Github
- From master, push the other branch
- Go see your pushes on Github
Now it's time to merge your branch through Github!!
- Find the
compare and pull request
button (either on the first page or in the branch tab) - Click on the button to start merging
- Explore the option, try to add or change things
- Add comments, title, etc.
- Merge your branch and delete it
- Now take some time to see what you have done. How things appear in Github and so on.
You're done!! Congrats 🎉!!
To go further please have fun on the amazing https://learngitbranching.js.org/?demo!