Flashcards
Git branch basics
Cards in this deck (7)
- 1What is a git branch?A branch is a copy of the master that allows you to work and make changes without compromising the master
- 2how do you create a branch ?$ git branch
$ git checkout -b - 3how to delete a branch$ git branch -d
- 4How do you merge a branch?$ git merge
- 5What does git fetch do ?synchronises with server
updates local database with changes on server - 6How do you upload local changes ?$ git push
- 7What is the difference between git fetch and git pull ?git fetch : downloads the updates from the server and allows you to merge modifications
git pull : downloads updates from server and merges automatically
Information
- Description
- 1GIT (Git branching Basics) Flashcards on Git branch basics, created by Julz G on 17/06/2019.
- Created by
- Julz G
- Views
- 0
- Rating