Answers for "how to commit in vs code"

4

steps to commit code in github from vscode

git init                                                           // start tracking current directory
git add -A                                                         // add all files in current directory to staging area, making them available for commit
git commit -m "commit message"                                     // commit your changes
git remote add origin https://github.com/username/repo-name.git    // add remote repository URL which contains the required details
git pull origin master                                             // always pull from remote before pushing
git push -u origin master
Posted by: Guest on August-17-2021
0

git commit message editor vscode

git config --global core.editor "'C:\Program Files (x86)\Microsoft VS Code\code.exe' -w"
Posted by: Guest on September-01-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language