Skip to content

Conversation

@Daniel-Reuven
Copy link
Collaborator

No description provided.

6. it removes any change that is not committed before switching to the other branch.

==============
Reset
Copy link
Owner

@alonitac alonitac Jul 18, 2022

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
Copy link
Owner

@alonitac alonitac Jul 18, 2022

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.
Copy link
Owner

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
Copy link
Owner

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.
Copy link
Owner

@alonitac alonitac Jul 18, 2022

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

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

Successfully merging this pull request may close these issues.

3 participants