#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
На этой странице сайта вы можете посмотреть видео онлайн Git #3 Most useful git commands git init, git add ., git commit, git push, git pull,git feth длительностью online в хорошем качестве, которое загрузил пользователь Sharath Chandran 18 Декабрь 2020, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 52 раз и оно понравилось 1 зрителям. Приятного просмотра!