Giter Club home page Giter Club logo

arm-workshop's Introduction

arm-workshop

This area is a template repository, used by the Citadel ARM workshop at https://aka.ms/citadel/arm.

If you are working through the series of labs in this workshop then you will need a GitHub account and to have met all of the other prereqs. You will not be able to complete the fork, clone and test in this guide unless you have configured vscode and installed git into the operating system.

Fork and Clone

You should then fork this repository into your GitHub account and then clone it to your laptop using vscode. Follow these instructions:

  1. Right click on the tab in your browser and duplicate so that you can work in one whilst reading this file in the other
  2. Click on the Fork button at the top right:

Fork

  1. Select your personal GitHub account
  2. The repo will be forked as https://github.com/username/arm-workshop
  3. Click on the Clone or download button and click on the copy icon:

Fork

  1. Open up a new Visual Studio Code window
  2. Type CTRL+SHIFT+P to open the Command Palette
  3. Type clone until Git: Clone appears then select it:

Command Palette

  1. Paste in the https://github.com/username/arm-workshop.git repository URL
  2. Select the destination directory
    • You can choose a default clone directory in Settings (CTRL+,)
    • E.g. "git.defaultCloneDirectory": "C:\\Users\\username\\git"
  3. Click on Open Repository when prompted

Your vscode should now look similar to this:

Cloned Repo

Testing

Let's create a test file to check that the Git integration is working correctly.

We will create a new file, stage the change locally and then finally commit it to the local clone of the repository. (Whenever you commit you need to include a message to describe that commit.) The commit will only be local at that point, so we will then push (or sync) so that you can confirm the change is in your GitHub repo.

  1. Create a new file called deleteme.md in vscode
  2. Add in some text, such as the following:
# Test File

This is a test markdown file.
  1. You should see a round blob on the file's tab to show that is has unsaved changes
  2. Click CTRL+S to save the file
    • The Source Control icon on the sidebar should now show the number
  3. Click on the Source Control icon, or use CTRL+SHIFT+G
  4. Hover over the deleteme.md filename and click on the +
    • This stages the changed file
  5. Type in a message to describe the commit such as Initial commit
  6. To commit, either click on the tick (or check), or type CTRL+ENTER:

Commit

  1. Push the commited change up, using either Push from the ellipsis (...) menu, or by clicking on the sync in the status bar:

Sync

  1. Browse to your https://github.com/username/arm-workshop repo fork
  2. Refresh the page to reflect the change

Refresh

Once you have confirmed that everything is working well then you should be good to continue with the labs.

arm-workshop's People

Contributors

richeney avatar

Watchers

James Cloos avatar Jason Currie avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.