Skip to content
Cameron McKenzie edited this page Aug 1, 2020 · 2 revisions

Welcome to the simple-rebase-and-merge-example wiki!

These are the commands used to create this repository after a new GitHub repository was created with nothing but a README.md file.

rm README.md
git add .
git commit -m "null"

echo 'alpha' > a.html
git add . && git commit -m "a mas"

echo 'beta' > b.html
git add . && git commit -m "b mas"

echo 'charlie' > c.html
git add . && git commit -m "c mas"

git branch develop

echo 'delta' > d.html
git add . && git commit -m "d mas"

echo 'edison' > e.html
git add . && git commit -m "e mas"

git checkout develop

echo 'foxtrot' > f.html
git add . && git commit -m "f dev"

echo 'golf' > g.html
git add . && git commit -m "g dev"

git checkout develop
git push origin --set-upstream develop

git checkout master
git push origin --set-upstream master

Create GitHub repo

Clone this wiki locally