Skip to content

Instantly share code, notes, and snippets.

View joelmachango's full-sized avatar
👨‍💻

Joel Machango joelmachango

👨‍💻
View GitHub Profile
@ann-mukundi
ann-mukundi / Working with branches
Created January 23, 2018 13:26
CP-readiness: git branches
Create a github account here
Create a new repository on github with the name cp-readiness
Follow the instructions to push an existing repository from the command line
In your local machine, create a branch called recipes
Switch to the new branch
In a folder called recipe, create a file called tea.txt
Add the changes to staging
Push to the recipes branch
@ann-mukundi
ann-mukundi / Intro to Git
Created January 23, 2018 13:19
Cp-readiness
Exercise 1
Install Git on their computer
Create a folder called cp-readiness on your local computer
Navigate to the folder and initialize it with git.
Create a file called README.md with a short a short intro of who you are to this folder
Check the status of your repo
Add the file README.md to the staging area
Commit with the message Initial Commit