Code Monkey home page Code Monkey logo

salesforce-git-codelab's Introduction

Salesforce Git Codelab Tweet

This repository consist of all the code used in Salesforce Git Codelab by SFDC Stop premiered on YouTube on 28th June 2020 7:00 P.M. IST.

View the YouTube Premiere to complete the codelab or follow the below steps.

After you've completed the Codelab you can see your name on the SFDC Stop Contributors Page

Prerequisites

You need a GitHub account and the below softwares setup in your system before starting the Codelab.

Instructions

  • Fork this repository

  • Clone it to your PC

    git clone https://github.com/<your github username>/salesforce-git-codelab.git
    
  • Create a branch by <your-name> appended by dev

    git checkout -b rahuldev
    
  • Update the SFDCStopTeamController.cls Apex Class and add another entry in SFDC Stop Contributors List by copying and pasting the lines 33 - 40 with your own values i.e. your name, picture url, date of contribution and trailhead profile link as shown below:-

    sfdcstopContributors.add(
      new Contributor(
        'Your Name',
        'https://your-photo-url.jpg',
        Date.newInstance(2020, 06, 28),
        'https://trailblazer.me/id/your-trailhead-username'
      )
    );
    
  • Stage your changes

    git add .
    
  • Commit your changes. Add a commit message in this format:- "Added <your name> to SFDC Stop Contributors"

    git commit -m "Added Rahul Malhotra to SFDC Stop Contributors"
    
  • Push the changes to your branch in forked repository

    git push origin rahuldev
    
  • Create a Pull Request

  • In case you face a merge conflict, Resolve the Merge Conflict by following the below steps:-

    • Store the original repo URL

      git remote add upstream https://github.com/rahulmalhotra/salesforce-git-codelab.git
      
    • Switch to master branch

      git checkout master
      
    • Fetch master branch from original repository

      git fetch upstream master
      
    • Merge upstream master with local master branch

      git merge upstream/master
      
    • Merge master branch into your dev branch

      git checkout rahuldev
      git merge master --no-ff
      
    • After this you'll be able to see the merge conflict that you can resolve manually by carefully keeping both changes.

    • Stage the changes

      git add .
      
    • Commit the changes

      git commit -m "Resolved merge conflict"
      
    • PR will be updated automatically and I'll merge your PR into the master branch

Once your PR is merged successfully, you can see your name on the SFDC Stop Contributors Page

Congratulations..!! You've just made a contribution and welcome to the world of Open Source :-)

As a bonus point, you can also update this README by adding your name to the list of contributors below..!!

Contributors

salesforce-git-codelab's People

Contributors

rahulmalhotra avatar amv-vma 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.