You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Clone the Repository
>>> git clone https://github.com/shoaibrayeen/Programmers-Community
# Go to Directory
>>> cd /Programmers-Community
# Make A Branch to Create Your Pull Request
>>> git checkout -b your_branch_name
# Add your code to the respective file
# [ say for factorial code by person A,file name should be SolutionByA.cpp ]
>>> git add .
# Commit Your Change
>>> git commit -m "Add A Related Message"
# Push Files to your new Branch
>>> git push origin your_branch_name
# Now Go to the repository and Create PR with Your branch
Updating your local with Remote Machine
# Go to master branch
>>> git checkout master
# Pull New Changes
>>> git pull origin master
# Rebase your branch with update master branch
>>> git rebase master
Delete your branch after merging your file
# Delete Your branch
>>> git branch -D your_branch_name