Git learn

  • 330 views
Uploaded on

For Git Learning …

For Git Learning
&
Ops Style with Git

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
330
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
11
Comments
0
Likes
1

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

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日土曜日