Skip to content

Conversation

@dorondollev
Copy link
Collaborator

finished Git and Pycharm ex-1
thank you for extending the time for me

@@ -0,0 +1,114 @@
Git Basics (commit, diff, branches)
===================================
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great


M app.py

Cherry picking
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great

for example, if you'll pick a commit that is in progress and it was first introduced in an unpicked commit,
it won't apply until you'll fix the unordered pick

Changes in working tree and switch branches
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very good

Reset
=====
2.
1. git resets the last commit, in our case .env changed
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 10.txt should have changed, not .env

=====
2.
1. git resets the last commit, in our case .env changed
2. git resets the index but not the working tree, it means that the files .env and config.json are unadded to index.
Copy link
Owner

@alonitac alonitac Oct 23, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Again, files 9.txt and 10.txt should have changed. This is probably because forgot to switch to the correct branch. But regardless the specific files, the answer is correct

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