-
Notifications
You must be signed in to change notification settings - Fork 6
adanbh's solution for git_ex1 #27
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,47 @@ | |||
| 1. create a file in branch main, that called "abc.txt". | |||
| 2. the file color in Pycharm's Project view is green. | |||
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.
The file should be red since it's not in the index yet.
| 15. 1.git restore --staged abc.txt | ||
| 2.git status | ||
| ====================================== | ||
| Resolve conflicts |
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.
Great
| 6. yes, Untracked file feature/ | ||
| ====================================== | ||
| Cherry picking | ||
| 4. config.json , .env |
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.
Great
| 5. no | ||
| 6. no there is no take.txt in the branch ,Force Checkout button destroyed the file. | ||
| ======================================== | ||
| Reset |
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.
Very good!
No description provided.