Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 510 Bytes

Git_CheatSheet.md

File metadata and controls

24 lines (20 loc) · 510 Bytes

Recently seeing Authentication failed after changed to two-Factor, changed to SSH

Add SSH key to Github account
git remote -v 
git remote remove origin 
git remote add origin git@github.com:user/repo.git 

Create a git dev/feature branch and push the changes to main branch using PR

git pull origin main
git branch <branch_name>
git branch 
git checkout <branch_name>
git commit -a
git push origin <branch_name>
PR is created and merge can be done in the github page
git log