Git - Basic Operations | Practical explanation

Veröffentlicht am: 13 Dezember 2020
auf dem Kanal: Architecture Flashlight
29
0

Practical explanation

The following is a summary of basic git operations:

git add
Puts current working files into the stage (aka index or cache)

git checkout
Replaces the current working files with files from a branch.

git checkout -b
Creates a new local branch from the current branch's tip.

git clone
Clone an existing repository into a new directory.

git commit
Commits staged changes to a local branch

git commit -a
Commits all modified files to a local branch (shorthand for "git add" followed by "git commit" for each modified file)

git merge
Merges files from a given branch into the current branch.

git pull
Fetches remote changes on the current branch into the local clone, and merges them into the current working files.

git push
Uploads changes from all local branches to the respective remote repositories.


Auf dieser Seite können Sie das Online-Video Git - Basic Operations | Practical explanation mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Architecture Flashlight 13 Dezember 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 29 Mal angesehen und es wurde von 0 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!