Open
Conversation
…into katas1_Yftest
…into katas1_Yftest
…_tests # Conflicts: # python_katas/kata_2/questions.py
# Conflicts: # python_katas/kata_1/questions.py
# Conflicts: # python_katas/kata_1/test.py
� Conflicts: � python_katas/kata_1/questions.py
…test # Conflicts: # 06_linux_ex2/README # 06_linux_ex2/tlsHandshake.sh
6 - TestPrimeNumber 7 - TestSevenBoom
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GIT Bssic
$ touch abc.txt
$ echo "1" >> abc.txt
Yellow (new file)
$ git add abc.txt -White
$ git commit - Red
$ echo "2" >> abc.txt
Brown (when change file)
$git diff main
becuse i create file and than i add text to the file ant after that i done commite to this change the stage tree been cleared
than i do another change but i didnet add it to the index Git diff dont show me anyting
after i add the change to the index Git diff wont show me anything becuse i didnet do anew cahnge
3) no becuse git diff chage show the difrent between the stages not like git diff main that show me the difrrent on the working tree in branch main
resolve conflicts
git branch
git chekout -b feature/coffe
git chekout feature/coffe
git merge/ver1
git merge/ver2
we get conflict
we merge branch git/ver1 into git/coffe
cherry picking
chekout main
we add files .env
we add config.json
cherry piciking its dont important ehice commit you pick becuse its 2 different file so we cant get conflict
change in working tree
chekout feature/coffe2
touch take.txt && echo "bla text" >> aaa.txt
git add aaa.txt
git chekout dev
we get error
we need to do commit or stash before swich branch
do commit/stash
when we forch chekout its not save change in branch dev for aaa.text
reset
git reset soft head1
git reset mixedhead