AZURE & GIT
ZZ Black Coffee #8 Update Skills v1
Sep 15, 2013
By Non Intanon
TODAY
 Basic Usage of Git
 AzureWebsite
 Continuous Integration Deployment
"Git and Azure", ZZ BLACK COFFEE #8 Update S...
GIT 101
Let’s learn how to use Git
"Git and Azure", ZZ BLACK COFFEE #8 Update Skills v1 by Non Intanon
GIT 101 – INTRODUCTION
 British English slang means “unpleasant person”
 A distributed version control and source code m...
GIT 101 – SETTING UP
 Git SCM
(download from http://git-scm.com)
 Visual StudioTools for Git
(download from http://visua...
GIT 101 – FINDTHE HOME
 GitHub – http://www.github.com
 BitBucket – http://www.bitbucket.org
 TFS (Team Foundation Serv...
GIT 101 – MEETTHE COMMANDS
 Setup and Config
 config, help
 Getting and Create Projects
 init, clone
 Basic Snapshott...
"Git and Azure", ZZ BLACK COFFEE #8 Update Skills v1 by Non Intanon
GIT 101 –VISUAL STUDIO FRIENDLY
 Visual StudioTools for Git
(download from http://visualstudiogallery.msdn.microsoft.com/...
"Git and Azure", ZZ BLACK COFFEE #8 Update Skills v1 by Non Intanon
AZURE 101
Now, let’s go cloud
"Git and Azure", ZZ BLACK COFFEE #8 Update Skills v1 by Non Intanon
AZURE 101 - INTRODUCTION
 How to pronounce?
 http://www.youtube.com/watch?v=YhE-Hm63USY
 http://en.wiktionary.org/wiki/...
AZURE 101 – AZUREWEBSITE
 10 Free Websites
 Free 20MB SQL Server Database
 Scalable
 Blazing Fast
 Continuous Integra...
"Git and Azure", ZZ BLACK COFFEE #8 Update Skills v1 by Non Intanon
Q&A -THANKS!
NON INTANON
non@mrnon.com | http://mrnon.com
Software Development Manager, Revenue Science Corporation
facebo...
Upcoming SlideShare
Loading in …5
×

Azure & Git - ZupZip Black Coffee #8 Update Skills v1

425 views
317 views

Published on

My session from ZupZip event at UTCC, Bangko. View my source code can be download from GitHub https://github.com/nonintanon/zz-blackcoffee

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
425
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • -Basic Usage of Git-
  • Azure and Git by Non Intanon #Reqiured Internet- Create Windows Azure Account (Free Trial/Pay-As-You-Go)- Create Azure Website- Create GitHub Account- Basic Git commands (Init, Clone, Branch, Add, Commit, Push, Merge and Pull Request)- Deploy Azure Website using GitHub Concept- Building simple website together- Git and Visual Studio- Pushing from Git Bash- Rollback Commit
  • Resource http://en.wikipedia.org/wiki/Git_(software)Larry McVoy (BitKeeper, a SCM used to maintain Linux kernel) claimed that Andrew Tridgell reverse-engineered the BitKeeper protocols, hence withdrawn free use of the product.Torvalds said: "I'm an egotistical bastard, and I name all my projects after myself. First 'Linux', now 'git'."Centralized (SVN, TFS Version Control)Distributed (Mercurial, Git)TFS – Repositories are stored on a central server and developers check-out a working copy, which is a snapshot of the code at a specific point of timeGit – Developers clone the entire repository to their machines, including all of the historyAccording to the link, http://stackoverflow.com/questions/4415127/git-vs-team-foundation-server/4415234#4415234,Redundancy in case the server diesCan move your working copy back and forth between revisions without ever talking to the server, which can be helpful if the server is down or just unreachableYou can commit changesets to your local repository without ever talking to the server or inflicting potentially unstable changes on your team (i.e., breaking the build)According to the link, http://stackoverflow.com/questions/4415127/git-vs-team-foundation-serverAutomatically backup of the whole repo – everytime someone pulls from the central repo, he/she gets a full history of the changes. When one repo gets lost: don’t worry, take one of those present on every workstationOffice repo access – when I’m working at home (or in an airplane or train), I can see the full history of the project, every single checkin, without starting up my VPN connection to work and can work like I were at work: checkin, checkout, branch, anything
  • Git comes with BASHGit GUI is not recommend but you can use itSSH is not supported yet!
  • github.com/nonintanonbitbucket.org/nonintanonnonintanon.visualstudio.com
  • http://git-scm.com/docs
  • Create GitHub accountCreate new repository – zz-blackcoffeeCreate SSH - https://help.github.com/articles/generating-ssh-keysSSH:git@github.com:nonintanon/zz-blackcoffee.gitHTTP: https://github.com/nonintanon/zz-blackcoffee.gitNew Repo$ gitinit$ git add README.md$ git commit –m “first commit”$ git remote add origin { SSH or HTTP }$ git push –u origin masterExisting Repo$ git remote add origin { SSH or HTTP }$ git push –u origin master
  • Create new MVC projectAdd .gitignore / .gitattributesCommitAdd hello world pageCommitPush (Bash)View in GitHubPull Request vs Local Merge
  • A Cloud and Azure Glossary for the Confused http://www.hanselman.com/blog/ACloudAndAzureGlossaryForTheConfused.aspxWiki http://en.wikipedia.org/wiki/Windows_AzureAzure Poster http://www.microsoft.com/en-us/download/confirmation.aspx?id=35473Brief History of Azure http://www.slideshare.net/MattDeacon/a-brief-history-of-azure
  • Create new MVC projectAdd .gitignore / .gitattributesCommitAdd hello world pageCommitPush (Bash)View in GitHubPull Request vs Local Merge
  • Introduce myselfWhere I’m working
  • Azure & Git - ZupZip Black Coffee #8 Update Skills v1

    1. 1. AZURE & GIT ZZ Black Coffee #8 Update Skills v1 Sep 15, 2013 By Non Intanon
    2. 2. TODAY  Basic Usage of Git  AzureWebsite  Continuous Integration Deployment "Git and Azure", ZZ BLACK COFFEE #8 Update Skills v1 by Non Intanon
    3. 3. GIT 101 Let’s learn how to use Git "Git and Azure", ZZ BLACK COFFEE #8 Update Skills v1 by Non Intanon
    4. 4. GIT 101 – INTRODUCTION  British English slang means “unpleasant person”  A distributed version control and source code management (SCM) sysem with an emphasis on speed.  Initial designed and developed by LinusTorvalds for Linux kernel development in 2005  Began April 3, 2005  June 16, 2005 Linux kernel 2.6.12 release was managed by Git  July 26, 2005Torvalds turned over maintenance to Junio Hamano and was responsible for the 1.0 release on December 21, 2005, and remains the project’s maintainer  Reported to have 30% market adoption as of 2013 "Git and Azure", ZZ BLACK COFFEE #8 Update Skills v1 by Non Intanon
    5. 5. GIT 101 – SETTING UP  Git SCM (download from http://git-scm.com)  Visual StudioTools for Git (download from http://visualstudiogallery.msdn.microsoft.com/abafc7d6-dcaa- 40f4-8a5e-d6724bdb980c "Git and Azure", ZZ BLACK COFFEE #8 Update Skills v1 by Non Intanon
    6. 6. GIT 101 – FINDTHE HOME  GitHub – http://www.github.com  BitBucket – http://www.bitbucket.org  TFS (Team Foundation Service) – http://tfs.visualstudio.com/  Other – see https://git.wiki.kernel.org/index.php/GitHosting  Self Host "Git and Azure", ZZ BLACK COFFEE #8 Update Skills v1 by Non Intanon
    7. 7. GIT 101 – MEETTHE COMMANDS  Setup and Config  config, help  Getting and Create Projects  init, clone  Basic Snapshotting  add, status, diff, commit, reset, rm, mv  Branching and Merging  branch, checkout, merge, mergetool, log, stash, tag  Sharing and Updating Projects  fetch, pull, push, remote, submodule  Inspection and Comparison  show, log, diff, shortlog, describe “Azure and Git", ZZ BLACK COFFEE #8 Update Skills v1 by Non Intanon
    8. 8. "Git and Azure", ZZ BLACK COFFEE #8 Update Skills v1 by Non Intanon
    9. 9. GIT 101 –VISUAL STUDIO FRIENDLY  Visual StudioTools for Git (download from http://visualstudiogallery.msdn.microsoft.com/abafc7d6-dcaa- 40f4-8a5e-d6724bdb980c "Git and Azure", ZZ BLACK COFFEE #8 Update Skills v1 by Non Intanon
    10. 10. "Git and Azure", ZZ BLACK COFFEE #8 Update Skills v1 by Non Intanon
    11. 11. AZURE 101 Now, let’s go cloud "Git and Azure", ZZ BLACK COFFEE #8 Update Skills v1 by Non Intanon
    12. 12. AZURE 101 - INTRODUCTION  How to pronounce?  http://www.youtube.com/watch?v=YhE-Hm63USY  http://en.wiktionary.org/wiki/azure  Cloud Computing Platform and Infrastructure  Provides both Platform as a Service (PaaS) and Infrastructure as a Service (IaaS)  Not Only Microsoft – PHP, Node.js, MySQL, Linux!  October 2008 – First CTP  June 2012 – Azure Website,Virtual Machines, Python SDK, New Portal, Locally redundant storage  Why andWhy Not Azure? "Git and Azure", ZZ BLACK COFFEE #8 Update Skills v1 by Non Intanon
    13. 13. AZURE 101 – AZUREWEBSITE  10 Free Websites  Free 20MB SQL Server Database  Scalable  Blazing Fast  Continuous Integration Deployment "Git and Azure", ZZ BLACK COFFEE #8 Update Skills v1 by Non Intanon
    14. 14. "Git and Azure", ZZ BLACK COFFEE #8 Update Skills v1 by Non Intanon
    15. 15. Q&A -THANKS! NON INTANON non@mrnon.com | http://mrnon.com Software Development Manager, Revenue Science Corporation facebook.com/mrnon twitter.com/nonintanon linkedin.com/ni/nonintanon github.com/nonintanon "Git and Azure", ZZ BLACK COFFEE #8 Update Skills v1 by Non Intanon

    ×