2021-02-07 10:59:24 +01:00
|
|
|
title = Sandbox with three commits
|
2021-02-04 15:19:54 +01:00
|
|
|
cards = checkout add reset-file checkout-file commit merge rebase
|
2020-10-29 20:02:43 +01:00
|
|
|
|
|
|
|
[setup]
|
|
|
|
|
|
|
|
echo "You wake up." > you
|
|
|
|
git add .
|
|
|
|
git commit -m "The beginning"
|
|
|
|
|
|
|
|
echo "You drink coffee." >> you
|
|
|
|
git commit -am "First things first"
|
|
|
|
|
|
|
|
echo "You hear a knock on the door." >> you
|
|
|
|
git commit -am "Who's there?"
|
|
|
|
|
|
|
|
git branch not_main
|
2020-12-23 17:09:23 +01:00
|
|
|
|
2021-01-07 12:57:31 +01:00
|
|
|
[description]
|
2020-12-23 17:09:23 +01:00
|
|
|
|
2021-02-04 15:19:54 +01:00
|
|
|
Here's a sandbox you can play around in.
|
2020-12-23 17:09:23 +01:00
|
|
|
|
2021-02-07 10:59:24 +01:00
|
|
|
You can use both the playing cards, as well as the terminal. This is a real Git terminal! Fun things to try:
|
2020-12-23 17:09:23 +01:00
|
|
|
|
|
|
|
- Make a commit that merges three timelines together at once!
|
2021-02-07 10:59:24 +01:00
|
|
|
- Create and delete some tags!
|
2020-12-23 17:09:23 +01:00
|
|
|
- Make a timeline that's completely independent of the rest!
|