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

Veröffentlicht am: 18 Dezember 2020
auf dem Kanal: 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


Auf dieser Seite können Sie das Online-Video Git #3 Most useful git commands git init, git add ., git commit, git push, git pull,git feth mit der Dauer online in guter Qualität ansehen, das der Benutzer Sharath Chandran 18 Dezember 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 52 Mal angesehen und es wurde von 1 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!