Git
Git is a revision control system used to track changes in computer
files. It's a tool to manage your code & file history while coordinating
work remotely on those files with others.
checkout
add commit
working staging local remote
directory area git fetch [github]
pull
Github
GitHub is hosting service for git repositories. Git is the tool,
a
while GitHub is the service to use git.
Distributed version control system
Server
Repository
github
OCAL COOR pusin Pull
Repository Repository
Push- Repository
FRED DAVE LISA
git git
Working coPy Working copy Working copy
Workstation/PC #1 Workstation/PC#2 Workstation/PC #3
1) Clone Remote Repo to Local Repo (Working directory)
2) Import project from git to workspace
2) Add/modify features/code/Test cases 1) Create new Project.
3) Create new branch in Remote Repo(Github) using Eclipse 2) Create Localgit) repository
4) Add file/s to staging 3) Add files to Staging
6) Commit chonges to Local Replgit) 4) Commit changes to Local Repofgit)
9it 7) Push changes to Remote Rep[Github) from new branch 5) Push changes to Moster branch Remote Repo (Github)
8) Request PR{Pull Request) for review code
Hey Guys, I created new Project on GitHub.
Go head and clone it then continue with your tasks.
Branch X
9it Branch
Branch Z
------
---=-===-. Review Code:
Case 1: Changes required, then provide comments to Team Member
Case 2: Everything good, then provide opproval to merge code in to Master branch in Github.
T9it Review process
Cooe
review
pull
reques
Merge Code with Master Branch
Com
Pauised C
wMITEBOARD
C
60TL
Pritt
1d
t-La
TT
Git & Github Integration
Branching
Merging