• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Git basics
 

Git basics

on

  • 222 views

Introduction to basics of Git-based team development. Useful when transforming development teams to Git. Improves team agility.

Introduction to basics of Git-based team development. Useful when transforming development teams to Git. Improves team agility.

Statistics

Views

Total Views
222
Views on SlideShare
222
Embed Views
0

Actions

Likes
0
Downloads
3
Comments
0

0 Embeds 0

No embeds

Accessibility

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Git basics Git basics Presentation Transcript

    • Git BasicsPresentation: 0.5hr Terence ChiaWorkshop: 1hr 1 September 2010
    • Git Basics● Introduction ● Git Migration● Get Started ● Git Clients● Start Coding ● Git Community● Team ● Git Resources Development Terence Chia 1 September 2010
    • Getting Started● $git init ● Starts a new local git● repository● $git clone ● Gets a copy of a remote● repository
    • Start Coding● $git add ● Add modified files to● “stage”. This prepares● you to commit the files.● $git commit ● Commits file to repository●
    • What have I done?!● $git status ● Reveals code status● $git log ● Shows change log● $git diff ● Shows diff of changed● files● $git show ● Shows diff by commits● $git help ● General Git help●●●
    • Team Development● Setup Identity● Setup a shared repository● Basic ways of avoiding conflicts● Branching● Merging
    • Team Development ● $git config ● Setup user● $ git config –global user.name “DevA” configuration & contact details● $git config –global user.email “DevA@site.com” ● $git pull ● Pull down changes ● $git push ● Push your updates ● $git stash ● Stash your changes. Restore to original state
    • Bye bye SVN, CVS ● Git exceeds basic SCM features ● CVS, SVN are history ● Migration from SVN to GIT is simple ● But prepare your SVN users & repository first ● $git svn● $ git svn clone http://svn/repo/here/trunk
    • Git Clients● Linux, Windows, MacOS tools● Command line● Git Bash● GitK● Alot of Git dev integration tools out there.
    • Git Clients● Linux, Windows, MacOS tools● Command line● Git Bash● GitK● Alot of Git dev integration tools out there.
    • Git Community● Git is open sourced under GPLv2● Public Repositories – http://github.com – http://bitbucket.org● DIY Public Repositories
    • Git Resources● http://git-scm.com● http://wiki.glitchdata.com/index.php?title=Git● http://gitready.com/● Alot of resources available
    • Thank You● Lets Practice● Exercises Terence Chia 1 September 2010