Git Tutorial(checkin, checkout, merge, conflict, push, pull etc)

preview_player
Показать описание
In this video i have explained about Git commands.
commands:
command for clone url:

command to check status
git status

command to add file
git add src/

command to commit code with message
git commit -m "initial version"

command to push
git push -u origin master

command to clear git terminal
clear

command to checkout different branch
git checkout -b branch-name

command to add file

command to pull updates from different branch
git pull origin develop

command to push through upstream
git push --set-upstream origin 11111feature-234

steps to merge your branch to develop/master branch
git checkout -b develop
git merge your-branch-name
git push
Рекомендации по теме
Комментарии
Автор

Thankyou Sir. You haven't mentioned check-in command

tencups
Автор

Hello sir, why we used git push --set-upstream command in the video

amirkhanpathan
Автор

Thank you but you missed Checkin and Conflict ...???

IndianYakker