Preview:
push code to github vscodeshell by Unusual Unicorn on Aug 17 2021 Comment
2

1
git init                                                           // start tracking current directory
 Save
2
git add -A                                                         // add all files in current directory to staging area, making them available for commit
 Save
3
git commit -m "commit message"                                     // commit your changes
 Save
4
git remote add origin https://github.com/username/repo-name.git    // add remote repository URL which contains the required details
 Save
5
git pull origin master                                             // always pull from remote before pushing
 Save
6
git push -u origin master  
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter