- Home
- Javascript
- Pushing Code to GitHub
Pushing Code to GitHub
Contents
Pushing Code to GitHub
To push your project to GitHub, run these commands in your project terminal:
Step 1: Initialize Git in your project folder
git init
Step 2: Add all files to staging
git add .
Step 3: Create your first commit
git commit -m "Pushing the Job Portal Application code to Github"
Step 4: Rename the branch to main
git branch -M main
Step 5: Connect your project to the GitHub repository
git remote add origin https://github.com/Abhisesarcasm/Job-Portal-Application.git
[Format: git remote add origin <repo url>]
(The link here is the repository URL, which you get when you create a new repository on GitHub.)
Step 6: Finally, push your code to GitHub
git push -u origin main
GitHub Repo Link: Job Portal Application-Repo
Job Portal with Applicant Tracking System Using Full Stack Development
AP









