git hub

20
Where Software is built GitHub

Upload: umang-gupta

Post on 11-Feb-2017

91 views

Category:

Software


0 download

TRANSCRIPT

Page 1: Git hub

Where Software is built

GitHub

Page 2: Git hub

Disclaimer

I’m not a Git expert or pro

Page 3: Git hub

Agenda

Version control systemsWhat is Git & Github ?History of GithubConcepts for Github UsersUnderstanding Github WorkflowGithub Desktop Demo

Page 4: Git hub

Version control systems• Version control is a system that records changes to a file or set of

files over time so that you can recall specific versions later.

• Version control (or revision control, or source control) is all about managing multiple versions of documents, programs, web sites, etc. Almost all “real” projects use some kind of version control Essential for team projects, but also very useful for individual projects

• Some well-known version control systems are CVS, Subversion, Mercurial, and Git.

Page 5: Git hub

Lets say you have a project you want to work on. Now you have 2 primary motives.          (a)  To write some code          (b)  To take up the project as a team , meaning that more than  one people are going to be responsible for writing the code.

User 1 User 2

Hello World !copy

Hello World !

Page 6: Git hub

Lets say you have a project you want to work on. Now you have 2 primary motives.          (a)  To write some code          (b)  To take up the project as a team , meaning that more than  one people are going to be responsible for writing the code.

User 1 User 2

Hello World !copy

Hello World !Hello, I am awesome

Page 7: Git hub

Here User 2 change the code, now at this point User 1 wouldn't know the changes User 2 have been made and User 1 start coding further with his code which lead to wrong results.

User 1 User 2

Hello World !copy

Hello, I am awesome

Page 8: Git hub

What is Git & Github ?Git: Git is an example of version control

It allows you to :

• Save your code online.• Git will allow all the developers of a project to see what changes the  other

one has made.• It allows you to discuss issues in your code with other developers.

     And a lot more...

Page 9: Git hub

User 1 User 2

Hello World ! Hello World !Git

Hello World !

Page 10: Git hub

User 1 User 2

Hello World ! Hello, I am awesome

Git

Hello World !Hello, I am awesome

Hello, I am awesome

Page 11: Git hub

What is Git & Github ?Github:

Github is a repository hosting service for Git based on “Ruby on Rails”.

• While Git is a command line tool, GitHub provides a web-based graphical interface that works on top of GIT. It can also be treated as a social platform to share knowledge and work.

• It also provides access control and several collaboration features, such as wikis and basic task management tools

Page 12: Git hub

History of Github • Founded in 2008 by Tom Preston-Werner

• Funding 0$• At that time 46 Employees with no middle managers; in other

words, "everyone is a manager" (self-management).Employees can choose to work on projects that interest them (open allocation).

• And Now 467 Employees.• 30+ Million Repositories • 10+ Million Users

Page 13: Git hub

Concepts for Github Users • Repository : A repository is a folder inside which you are going

to store every piece of your code.

• Fork : Copying someone's repository into your account is called forking.

• Upstream : The guy or organisation which owns the code that you forked.

Page 14: Git hub

Understanding Github Workflow

• First of all – create a Github Account• And second :

Page 15: Git hub

Github Desktop Demo We can create repositories by two methods :

• Github GUI Software • Git Windows PowerShell

Page 16: Git hub

DEMO TIME

• Create a Github account• Set up with Windows

Page 17: Git hub

ProjectBuildsrctextWeb

build.xml

Java

Doc1.text

First.Java

Page 18: Git hub

Github Desktop Demo

• Create a repository• Fork a repository• Delete a repository

We had done:

Page 20: Git hub

Thank You!