-
Notifications
You must be signed in to change notification settings - Fork 6
Aviad git.ex1 #28
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
Open
aviadfri
wants to merge
41
commits into
main
Choose a base branch
from
aviad_git.ex1
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Aviad git.ex1 #28
Conversation
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
…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
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