/
Version  Control Systems Version  Control Systems

Version Control Systems - PowerPoint Presentation

yoshiko-marsland
yoshiko-marsland . @yoshiko-marsland
Follow
343 views
Uploaded On 2019-06-20

Version Control Systems - PPT Presentation

a cademyzaribacom 1 Lecture Content What is Software Configuration Management Version Control Systems VCS Basic Git Commands Merging and Branching Creating a repository Simple Phaser ID: 759401

Share:

Link:

Embed:

Download Presentation from below link

Download Presentation The PPT/PDF document "Version Control Systems" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.


Presentation Transcript

Slide1

Version Control Systems

academy.zariba.com

1

Slide2

Lecture Content

What is Software Configuration Management?Version Control Systems (VCS)Basic Git CommandsMerging and BranchingCreating a repositorySimple Phaser DemoSource TreeVCS in WebStorm

2

Slide3

3

What is SoftwareConfiguration Management (SCM)?

SCM’s task is to keep track and controlling changes in the software.Revision Control, Source Control and Version Control.

Slide4

Version Control Systems (VCS)

4

Slide5

Workflow

Basically, the workflow goes like this: After that you can push your files from the HEAD to the remote master (or branch).

5

Slide6

6

Creating a repository

Slide7

Basic git commands

git init – create a new git repository.git remote add origin <address> - connect your repository to a remote server.git clone <address> - clone a repository from a remote server.git add <filename> - add specific file/files to the index.git add . – add all modified files to the index.git commit –m “message” – commit files to the HEAD with a specific message.git push origin master – send the changes from the HEAD to the server.git tag <version> <commit> - tagging a specific commit with a version.git log --author=vankata --pretty=oneline --graph --oneline --decorate --all --name-status - check the repository history.git checkout -- <filename> - replace changes in the working tree with the last content in HEAD.git fetch origin – download locally the latest origin master.git reset --hard origin/master – reset the local master to remote origin master.

7

Slide8

Merging and Branching

git checkout –b <branchname> - create a new branch.git push origin <branchname> - push changes to branchgit checkout master – switch back to mastergit branch –d <branchname> - delete branchgit pull – update your local repository to the newest commit.git merge <branch> - merge your local repository to a specific branchgit diff <branchname> <branchname> - preview differences in branches

8

Slide9

Simple Phaser demo

9

Create a simple demo with

Phaser

Initial commit of the project

Preview of the basic

Git

Commands

Slide10

Source Tree

10

Slide11

VCS in WebStorm

11

Slide12

12

References

http

://

rogerdudler.github.io/git-guide/

https

://en.wikipedia.org/wiki/Software_configuration_management

Slide13

13

Zariba Academy

Questions