-
Notifications
You must be signed in to change notification settings - Fork 6
Git ex1/eliranshriki #22
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
base: main
Are you sure you want to change the base?
Conversation
| @@ -0,0 +1,79 @@ | |||
| part one: | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good
| # because we didn't use the commit cmd | ||
| # git reset --hard | ||
|
|
||
| part 2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good
|
|
||
|
|
||
|
|
||
| part 3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good
| #A) file 10.txt went back one stage after the "add" command and before the commit commend | ||
| #B) file "10.txt" and "9.txt" went back to a stage before the add command | ||
| #C) delete the file "8.txt" what was the last push | ||
| #D) delete the last commit and changes, and you need to add new commit No newline at end of file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good answers, so what HEAD~1 mean?
git ex1