GitHub
As developers, we want to collaborate code with our peers and other developers. GitHub is an online software development platform. It’s used for storing, tracking, and collaborating on software projects.
The steps shown below needs a VS Code project with manifest ( package.xml) file and existing code
Step 1: Sign in to your GitHub account.
Create a Project Repository by logging into your GitHub account, as shown in the image below (keep its access private).
Step 2: Clone the GitHub repository locally on your machine
Install this Extension in your VS Code
On your local computer, install Git. Clone the primary GitHub repository once you’re finished.
I followed the following git commands on VS Code Terminal window. Please note the git repository url needs to be updated to your own git url
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/<test-name>/>repo-name-test.git
git push -u origin main
As soon as you execute the commands mentioned above, your code base will be uploaded to github repository
Right now, only 1 master branch is available and all the changed will be committed to master branch
In subsequent posts, we will see how can we automate CI/CD process for salesforce