Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Learning branches with git #1

Open
twemyss opened this issue Oct 15, 2020 · 1 comment
Open

Learning branches with git #1

twemyss opened this issue Oct 15, 2020 · 1 comment

Comments

@twemyss
Copy link
Owner

twemyss commented Oct 15, 2020

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#2

Team members

TG4

https://hackmd.io/m1wTEWFrSuSr9URiBCgAiA

@twemyss
Copy link
Owner Author

twemyss commented Oct 15, 2020

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant