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

create repository and push to git using command in vs code

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

PREVIOUS NEXT
Code Example
Shell :: brew install golang-migrate 
Shell :: wsl home folder location 
Shell :: bat turn echo off 
Shell :: bash for loop string 
Shell :: Skype Downlaod Command. 
Shell :: force pull git 
Shell :: open pdf command line linux 
Shell :: adonis make migration 
Shell :: install gatsby typography 
Shell :: git ignore all files within a directory 
Shell :: env npm 
Shell :: bash run a command every x second 
Shell :: kubeadm print join command 
Shell :: set zsh as default linux 
Shell :: ubuntu server add ssh key 
Shell :: get newest version of original in own fork 
Shell :: docker remove tag 
Shell :: vscode tab not working ubuntu windows 
Shell :: -bash: screen: command not found 
Shell :: linux install nvm 
Shell :: iptable port forward 
Shell :: set global git ignore 
Shell :: set permanant environemt variable 
Shell :: bash sh: line [: too many arguments 
Shell :: stress test cpu linux 
Shell :: git resolve conflict using theirs 
Shell :: ubuntu cmd time 
Shell :: install criterion ubuntu 
Shell :: laravel installation from github 
Shell :: install kotlin ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
8+5 =