Menyimpan Code di Visual Studio Code ke github (one of many)

Tips Jan 11, 2020

Dear Pembaca Setia,

Berikut merupakan salah satu cara untuk menyimpan hasil kerja kita di Visual Studio Code ke github. Ada banyak cara, ini merupakan cara pertama kali yang saya pergunakan. Berikut perintah di Command Line nya:

// start tracking current directory
git init

// add all files in current directory to staging area, making them available for commit
git add -A

// commit your changes
git commit -m "commit message"

// add remote repository URL which contains the required details
git remote add origin https://github.com/username/repo-name.git

git push -u origin master

Sumber dapat ditemukan di sini

Demikian tutorial singkat kali ini. Terima kasih sudah berkenan mampir.

Tags

Eldest Pasirula

Software Engineer, Blog Writer, $TSLA follower

Great! You've successfully subscribed.
Great! Next, complete checkout for full access.
Welcome back! You've successfully signed in.
Success! Your account is fully activated, you now have access to all content.