Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to push code to 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                                          // publish changes to your remote repository
Comment

push code to github 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  
Comment

PREVIOUS NEXT
Code Example
Shell :: git discard unstaged files 
Shell :: user current process in linux 
Shell :: how to unzip tar.gz file 
Shell :: macos clear terminal 
Shell :: check branches git 
Shell :: how to install a library in anaconda 
Shell :: laravel install by composer 
Shell :: how to check command history in linux with date and time 
Shell :: sudo without password 
Shell :: error: src refspec main does not match any error: failed to push some refs to 
Shell :: list only directories in bash 
Shell :: yum downgrade php 
Shell :: how to check if I have sudo permission 
Shell :: git ignore for dart 
Shell :: npm install strapi 
Shell :: kernel headers were not found vmware kali linux 
Shell :: git commit messages 
Shell :: list files in git 
Shell :: redis remove key 
Shell :: anaconda install package with version 
Shell :: install latest i18next version 
Shell :: git pull from template repository 
Shell :: get public key pem from cert 
Shell :: which equivalent powershell 
Shell :: haskell change version 
Shell :: sh increment variable 
Shell :: bash if is symlink 
Shell :: scp local to remote 
Shell :: uninstall npm package 
Shell :: surge delete project 
ADD CONTENT
Topic
Content
Source link
Name
2+2 =