{"id":22741397,"url":"https://github.com/rahulmalhotra/salesforce-git-codelab","last_synced_at":"2025-04-07T10:27:51.827Z","repository":{"id":37047780,"uuid":"275353211","full_name":"rahulmalhotra/salesforce-git-codelab","owner":"rahulmalhotra","description":"Salesforce Git Codelab by SFDCStop","archived":false,"fork":false,"pushed_at":"2024-05-29T21:16:21.000Z","size":103,"stargazers_count":3,"open_issues_count":31,"forks_count":217,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-31T08:12:03.561Z","etag":null,"topics":["ci","cicd","codelab","git","github","hackoctoberfest","salesforce","salesforce-developers"],"latest_commit_sha":null,"homepage":"https://rahulm-developer-edition.ap5.force.com/sfdcstop/","language":"Apex","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rahulmalhotra.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-27T10:56:56.000Z","updated_at":"2024-05-16T14:09:22.000Z","dependencies_parsed_at":"2024-12-26T12:06:42.878Z","dependency_job_id":"47467baa-28da-4228-b27c-4d8db4dbcc8b","html_url":"https://github.com/rahulmalhotra/salesforce-git-codelab","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rahulmalhotra%2Fsalesforce-git-codelab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rahulmalhotra%2Fsalesforce-git-codelab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rahulmalhotra%2Fsalesforce-git-codelab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rahulmalhotra%2Fsalesforce-git-codelab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rahulmalhotra","download_url":"https://codeload.github.com/rahulmalhotra/salesforce-git-codelab/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247634736,"owners_count":20970593,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ci","cicd","codelab","git","github","hackoctoberfest","salesforce","salesforce-developers"],"created_at":"2024-12-11T00:11:02.947Z","updated_at":"2025-04-07T10:27:51.810Z","avatar_url":"https://github.com/rahulmalhotra.png","language":"Apex","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Salesforce Git Codelab [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social\u0026logo=twitter)](https://twitter.com/intent/tweet?text=Check%20out%20this%20amazing%20Salesforce%20Git%20Codelab%20by%20SFDCStop.%20It%20covers%20some%20of%20the%20most%20important%20concepts%20of%20git%20that%20you%20can%20Learn%20By%20Coding\u0026url=https://github.com/rahulmalhotra/salesforce-git-codelab\u0026via=rahulcoder\u0026hashtags=salesforce,sfdx,git,github,codelab)\n\nThis 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**.\n\nView the [YouTube Premiere](https://www.youtube.com/watch?v=xX6Bp-jprZI) to complete the codelab or follow the below steps.\n\nAfter you've completed the Codelab you can see your name on the [SFDC Stop Contributors Page](https://rahulm-developer-edition.ap5.force.com/sfdcstop/)\n\n### Prerequisites\n\nYou need a GitHub account and the below softwares setup in your system before starting the Codelab.\n\n* [SFDX CLI](https://developer.salesforce.com/tools/sfdxcli)\n\n* [Git](https://git-scm.com/downloads)\n\n* [VSCode](https://code.visualstudio.com/download)\n\n* [Salesforce Extension Pack](https://marketplace.visualstudio.com/items?itemName=salesforce.salesforcedx-vscode) - You can directly install it within VSCode\n\n## Instructions\n\n* Fork this repository\n\n* Clone it to your PC\n\n  ```\n  git clone https://github.com/\u003cyour github username\u003e/salesforce-git-codelab.git\n  ```\n* Create a branch by ```\u003cyour-name\u003e``` appended by dev\n\n  ```\n  git checkout -b rahuldev\n  ```\n* 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:-\n\n  ```\n  sfdcstopContributors.add(\n    new Contributor(\n      'Your Name',\n      'https://your-photo-url.jpg',\n      Date.newInstance(2020, 06, 28),\n      'https://trailblazer.me/id/your-trailhead-username'\n    )\n  );\n  ```\n\n* Stage your changes\n\n  ```\n  git add .\n  ```\n\n* Commit your changes. Add a commit message in this format:- \"Added ```\u003cyour name\u003e``` to SFDC Stop Contributors\"\n\n  ```\n  git commit -m \"Added Rahul Malhotra to SFDC Stop Contributors\"\n  ```\n* Push the changes to your branch in forked repository\n\n  ```\n  git push origin rahuldev\n  ```\n* Create a Pull Request\n\n* In case you face a merge conflict, Resolve the Merge Conflict by following the below steps:-\n\n  - Store the original repo URL\n\n    ```\n    git remote add upstream https://github.com/rahulmalhotra/salesforce-git-codelab.git\n    ```\n\n  - Switch to master branch\n\n    ```\n    git checkout master\n    ```\n\n  - Fetch master branch from original repository\n\n    ```\n    git fetch upstream master\n    ```\n\n  - Merge upstream master with local master branch\n\n    ```\n    git merge upstream/master\n    ```\n\n  - Merge master branch into your dev branch\n\n    ```\n    git checkout rahuldev\n    git merge master --no-ff\n    ```\n\n  - After this you'll be able to see the merge conflict that you can resolve manually by carefully keeping both changes.\n\n  - Stage the changes\n\n    ```\n    git add .\n    ```\n\n  - Commit the changes\n\n    ```\n    git commit -m \"Resolved merge conflict\"\n    ```\n\n  - PR will be updated automatically and I'll merge your PR into the master branch\n\nOnce your PR is merged successfully, you can see your name on the [SFDC Stop Contributors Page](https://rahulm-developer-edition.ap5.force.com/sfdcstop/)\n\n**Congratulations..!!** You've just made a contribution and welcome to the world of Open Source :-)\n\nAs a bonus point, you can also update this README by adding your name to the list of contributors below..!!\n\n## Contributors\n\n* **Rahul Malhotra** - [@rahulcoder](https://twitter.com/rahulcoder)\n\n---\n\n```c++\n\nif(isAwesome(salesforceGitCodelab)) {\n  salesforceGitCodelab.star(); // Thanks in Advance :P\n}\n\n```\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frahulmalhotra%2Fsalesforce-git-codelab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frahulmalhotra%2Fsalesforce-git-codelab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frahulmalhotra%2Fsalesforce-git-codelab/lists"}