Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

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 :: discard all changes 
Shell :: npm install --save-dev @angular/cli@latest 
Shell :: git log show only merge commits 
Shell :: bash regex if condition 
Shell :: git view branch 
Shell :: git pull from commit 
Shell :: react hook install 
Shell :: htaccess hide directory listing 
Shell :: git change branch 
Shell :: find linux 
Shell :: tree process linux commnad 
Shell :: push existing repo 
Shell :: linux rename files add prefix 
Shell :: git push to remote 
Shell :: bash if set variable 
Shell :: chown: invalid user: ‘www-data:www-data’ 
Shell :: cp folders 
Shell :: linux how many cores 
Shell :: remove folder with content cmd 
Shell :: install zerotier raspberry pi 
Shell :: command to stop a system service 
Shell :: show processor usage linux 
Shell :: check how many container running or not running in docker 
Shell :: git get commit info 
Shell :: can not ping github 
Shell :: aws cli has no installation package in ubuntu server 20.04 how to solve 
Shell :: list inactive services ubuntu 
Shell :: elk max virtual memory areas vm.max_map_count [65530] is too low 
Shell :: gitlab docker setup 
Shell :: kde increase refresh rate 
ADD CONTENT
Topic
Content
Source link
Name
2+6 =