Git learn
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Git learn

on

  • 635 views

For Git Learning

For Git Learning
&
Ops Style with Git

Statistics

Views

Total Views
635
Views on SlideShare
635
Embed Views
0

Actions

Likes
1
Downloads
11
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

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 learn Presentation Transcript

  • 1. Git & Githubhiroki nigorinuma13年5月4日土曜日
  • 2. INDEXPreparedGithub - repository clone -First commit & wordsBranch - merge -Ops Style13年5月4日土曜日
  • 3. Prepared learn gitregister github1. access2. register rsainstall git1. brew install git13年5月4日土曜日
  • 4. Make Repositoryaccess Github13年5月4日土曜日
  • 5. Clone Repositorymkdir projects (generic)cd projectsgit clone [repogitory address]13年5月4日土曜日
  • 6. First Commitvim index.htmlgit add index.htmlgit commit -m “first commit”git push origin master13年5月4日土曜日
  • 7. Standard Commandsgit add [file name]git commit -m “[commit message]”git pull origin mastergit push origin master13年5月4日土曜日
  • 8. Git WordsRepositorylocal1 local2pushpull pushpullstagingaddcommit13年5月4日土曜日
  • 9. Branch Commandgit branch (-a)git checkout -b [branch name]git checkout mastergit merge [branch name]git push origin master13年5月4日土曜日
  • 10. Branch FlowmasterRepositorylocalclonebrachA1. checkout -b branchA2. add -> commit3. checkout master4. merge branchApush13年5月4日土曜日
  • 11. Some BranchesmasterbranchA branchB1.checkout -b4.checkout3. add -> commit2.checkout -b5.merge branchA6. add -> commit7.checkout8.merge branchB13年5月4日土曜日
  • 12. Some CommitersRepositorymaster master1.clone2.clonebranchA branchB3.checkout -b4. add->commit5.checkout6.merge7.push8.pull13年5月4日土曜日
  • 13. Ops Style 1Expos TestServersRepositorybranchesmaster developmentDeploy Deployclone clone13年5月4日土曜日
  • 14. Ops Style 2Repositorybranchesmaster developmentlocalbranchesmaster developmentbranchAcheckout -b checkout& mergecheckout& merge13年5月4日土曜日