Pushing Code To Git.
Hi,
In this blog we will see how we can push code to our git account.
Open your VSCode terminal, type following command
git init
Then run command git add -A
Then from created git repository copy command
git remote add origin https://abc.git
Now go to left menu pane, and open git menu.
Note:- Give commit message. Giving commit message is important
After hitting commit message hit blue button Publish branch.
Now go back to your git account-->git repository. And refresh tab.
You will see your code in your repository.
Thanks,
Comments
Post a Comment