Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 328 Bytes

branch_01_solution.md

File metadata and controls

20 lines (17 loc) · 328 Bytes

Branch 01 - Solution

cd some_repository
echo "master branch" > file1
git add file1
git commit -a -m "added file1"
git checkout -b dev
echo "dev branch" > file2
git add file2
git commit -a -m "added file2"

Verify:

git log (you should see two commits)
git checkout master
git log (you should see one commit)