twemyss / rse-classwork-2020

0 stars 0 forks source link

Learning branches with git #1

Open twemyss opened 4 years ago

twemyss commented 4 years ago

Screenshot

Screenshot 2020-10-15 at 11 54 20

Code

git commit -m 'is working'
git checkout HEAD~1
git commit -m ''
git checkout master
git checkout -b touch
git commit -m 'soft'
git commit -m 'sharp'
git checkout master
git checkout -b colours
git commit -m 'red'
git commit -m 'pink'
git commit -m 'orange'
git checkout master
git checkout -b taste
git commit -m 'sweet'
git commit -m 'salty'
git checkout -b sound 61920b8
git commit -m 'white noise'
git merge acb3a91
git checkout master

Orphaned commit

The orphaned commit can also be created by making a branch and then deleting the branch.

Details

Answers UCL-RITS/rse-classwork-2020#2

Team members

TG4

https://hackmd.io/m1wTEWFrSuSr9URiBCgAiA

twemyss commented 4 years ago

Tagged team members (to make it easier for them to find this for reference).

@alessandrofelder @twemyss @ucapgum @esl-lewis @zccaari @ugne112 @nuttamas @MarinMlinarevic