filmov
tv
Git Commands Tutorial | Git Clone, Add, Commit, Push, Pull, Checkout, Branch, Status
Показать описание
Learn git commands with examples. This is a complete git tutorial as well as git bash tutorial to learn github commands step by step. Previously I shared common git commands and easy way to use git on Windows by using Git GUI, git bash and git for Windows. In this video I will show you how can you use those git commands with git bash or terminal. For MAC or Linux you have got your terminal. For Windows you have got command prompt or power shell. But I will prefer git for Windows. Git for Windows gives you git bash utility. That is similar to terminal. We will use git bash to clone repo from github. We will practice:
git clone
git add .
git commit
git commit -m "commit message"
git push
git push origin branch-name
git pull
git pull origin branch-name
git branch
git branch new-branch-name
git checkout
git checkout other-branch-name
git checkout -b new-branch-name
git status
These are common commands and in most cases you only need these to do the job.
Learn these are you are good to go with version control system.
To use git, you should generate SSH keys for PC and register these with github or gitlab to do all of this. This is how github recognizes your PC and allows files transfer between PC and your github repos.
Thank you!
❤️ LIKE 👍 Thumb up
🔔 Hit BELL icon
✍️ We read every comment. Write something.
#webstylepress #git #github #webdevelopment #deployment #commands #gitbash
git clone
git add .
git commit
git commit -m "commit message"
git push
git push origin branch-name
git pull
git pull origin branch-name
git branch
git branch new-branch-name
git checkout
git checkout other-branch-name
git checkout -b new-branch-name
git status
These are common commands and in most cases you only need these to do the job.
Learn these are you are good to go with version control system.
To use git, you should generate SSH keys for PC and register these with github or gitlab to do all of this. This is how github recognizes your PC and allows files transfer between PC and your github repos.
Thank you!
❤️ LIKE 👍 Thumb up
🔔 Hit BELL icon
✍️ We read every comment. Write something.
#webstylepress #git #github #webdevelopment #deployment #commands #gitbash
Комментарии