Git Branch, switching between two branches, git merge

Опубликовано: 06 Май 2024
на канале: Technology with Kiran
23
1

Use a branch to isolate development work without affecting other branches in the repository. Each repository has one default branch, and can have multiple other branches. You can merge a branch into another branch using a pull request.
333 touch 2.txt
334 vi 2.txt
335 cat 2.txt
336 git status
337 git add .
338 git status
339 git commit -m "2.txt added to kiran branch"
340 git status
341 git log
342 git push -u origin1 kiran
343 ls
344 git checkout master
345 ls
346 git merge kiran master
347 ls
348 vi 1.txt
349 git status
350 git diff 1.txt
351 git add .
352 ls
353 git status
354 git restore --staged 1.txt
355 git status
356 git restore 1.txt
357 vi 1.txt
358 history


Смотрите видео Git Branch, switching between two branches, git merge онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Technology with Kiran 06 Май 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 23 раз и оно понравилось 1 людям.