-
Notifications
You must be signed in to change notification settings - Fork 6
git ex update #31
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?
git ex update #31
Conversation
| 6. it removes any change that is not committed before switching to the other branch. | ||
|
|
||
| ============== | ||
| 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.
Great
| 5. Yes, the order is relevant in order to get the latest version of the commits. | ||
|
|
||
| ============== | ||
| Changes in working tree and switch branches |
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
| Cherry picking | ||
| 1. command "git checkout -b feature/lambda_migration2 main" | ||
| 4. the following files have been added to my branch: "app.py" & "config.json" | ||
| 5. Yes, the order is relevant in order to get the latest version of the commits. |
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
| command "git commit -m "added to index abc.txt" " | ||
| command "git status", changed to blue | ||
| 4. command "echo 2 >> abc.txt" | ||
| 5. command "git status", red |
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 color in PyCharm should be blue here, since there are changes in the working tree that were not committed yet
| 5. command "git status", red | ||
| 6. command "git-diff main" | ||
| 7. because we have not added the file abc.txt to index yet. | ||
| 8. stage2 error is an ambiguous argument. |
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.
Because stage2 is not an existed branch
No description provided.