#shorts
Most useful git commands git init, git add ., git commit, git push, git pull, git feth
1. git init
// to start local repo
2. git add .
//to add local changes
to staging area
3. git commit -m "change1"
// to collect staged
changes
4. git push
// to push local
committed
changes to
remote branch
5. git fetch
// will fetch
remote branch
changes to your
local repo (not
to workspcae)
6. git pull
// it is git fetch + merge
to your workspace
7. git remote show origin
// to find remote git url
8. git checkout baranch
// checkout to local branch
all commits will be recorded
9. git checkout -b branch
// create new local branch
and check out
On this page of the site you can watch the video online Git #3 Most useful git commands git init, git add ., git commit, git push, git pull,git feth with a duration of online in good quality, which was uploaded by the user Sharath Chandran 18 December 2020, share the link with friends and acquaintances, this video has already been watched 52 times on youtube and it was liked by 1 viewers. Enjoy your viewing!