We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 8
RAJ KUMAR GOEL INSTITUTE OF TECHNOLOGY
5th K.M. STONE, DELHI-MEERUT ROAD, GAZIABAD-(U.P.) 201003
Mastering Git, GitHub,
and Version ControlIntroduction
‘Welcome to the Workshop on Mastering Git, GitHub, and Version Control
My name is Rohit Kushwaha, 3rd year CSE from RKGIT. | have been working with Git for over quite some time now and
gathered enough knowledge to know my way around Repos.
Pre ead
In this workshop, you will learn the fundamentals of Git, how to effectively use GitHub for collaboration, and best
practices for version control. By the end of this workshop, you will be able to:
+ Understand the basics of version control and why it is essential for software development.
Pa esle eae eos erat hae ne ee ee er een cur aca on
+ Collaborate with others using GitHub, including pull requests and code reviews.
Se SRCe ree eee aCe Oe Sarr eet ci acne iscccen
Teac EER RCN RRC he ikonUnderstanding Version Control
De enteral ee ee ened
Ree ee ee ee ey
Ogee ee es See eee
ea ees
+ lows developers to track changes and revert to
et ne ea
hike parca eee eres
oe eee
Sd
developers to workon the same project
ers
+ Proves. centrai
et
Deeaeeeeeties
cere ae
+ Helos in identifying end resolving conflicts when
multiple people make changes tothe same fleTerese R ORC ig
Pd
Cee)
een
at allows developers to.
‘rack changes in their
pao eee
cree
‘manage citerent
Senn
ene
software development
peer
Coton
ed
Cea)
ed
er
pope neat
eee
ce
entered
eer
ed
peaarreE
Pee
eeWorking with Branches:
In Git, branchos are used to looate work and make changes without stfecting the main codabaso. They allow multiple
CE ee er ed
Ce
Ceo oy
res
usethe git Branch branch, use the git
Se Ta oT)
Cea ers
ed
ceetena poets
coer ee oy
ee eee en
Ceo
“To delete branch, use
eerie
Pert
ee
‘ovampe, git branch
Perey
as
eae es
Send
coon
os
Cy
Peery
rane
ord
Sag
ce)
ce
ey
cd
Sa
Ce
Poa ees
onrereannny
keep them upto date
ey
See
purpose to koop tho
reposiory cleanGit Basics
ee
Se ee ene een ee en eee ee eed
Cee eee ee ee ee ety
‘the following commands:
Ce ee eas
ee aoe
ee ead
Se ete ee eee ce ay
ee eet eee ee ee
er
tetera
Cee ee ce een ee oes Cee
ee a ca) ete creas
Cr cS orc ad Coron)
tothe staging Cis yy nr
poten) td romoto Ce
coe) oc et a) Pes
them. Cee eens Ce Ce
descriptive ced tie ety
message. cea repository. fetes
aofe Raney
Connemara’ cgBian)
Fe eos
Cee eet eer
Seer iene
Se ecu)
+ ith MiDraes
ines