Git #3 Most useful git commands git init, git add ., git commit, git push, git pull,git feth

Publicado em: 18 Dezembro 2020
no canal de: Sharath Chandran
52
1

#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


Nesta página do site você pode assistir ao vídeo on-line Git #3 Most useful git commands git init, git add ., git commit, git push, git pull,git feth duração online em boa qualidade , que foi baixado pelo usuário Sharath Chandran 18 Dezembro 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 52 vezes e gostou 1 espectadores. Boa visualização!