Pushing into a remote repo(GITHUB) from local repo (VS CODE)

 COMMANDS

git remote add origin ------link

git remote -v   (to verfiy remote)

git branch

git branch -M main

git push origin main

git push -u orign main


 initially files are not committed


Files are made committed by using commands







the files are added to the GITHUB repository using the above commands



now the README file is updated and it is to be updated in the repository











It is updated by using the appropriate commands




Comments

Popular posts from this blog

Branch Commands