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
Zeena-Shawa opened this issue Oct 25, 2020 · 0 comments
Open

Learning Branches with Git #1

Zeena-Shawa opened this issue Oct 25, 2020 · 0 comments

Comments

@Zeena-Shawa
Copy link
Owner

2020-10-24 (6)

git commit -m "is working"
git branch colours
git checkout colours
git commit -m "red"
git commit -m "pink"
git commit -m "orange"
git checkout master
git branch taste
git checkout taste
git commit -m "sweet"
git commit -m "salty"
git checkout master
git branch touch
git checkout touch
git commit -m "soft"
git commit -m "shar["
git reset --449814d
Assuming "--hard".
Cannot find ref: --449814d
git reset --hard 449814d
git push -f
There is no remote server named "origin".
git commit -m "sharp"
git revert
You must specify a commit to revert
git revert 449814d
git checkout 2c22e54
git branch sound
git checkout sound
git commit -m "white noise"
git Merge 4df3411
I don't understand that.
git merge 4df3411
undo
undo
undo
undo
undo
undo
undo
undo
undo
undo
git commit -m "sharp"
git checkout 2c22e54
git branch sound
git checkout sound
git commit -m "white noise"
git merge 4df3411
git checkout e137e9b
git branch
  master
  colours
  taste
  touch
  sound
git commit
git checkout master

Answers UCL-RITS#2

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