Skip to content

Instantly share code, notes, and snippets.

@uiaciel
Created October 14, 2022 17:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save uiaciel/85a72810b8e2ac6c34110d353ed1d6a7 to your computer and use it in GitHub Desktop.
Save uiaciel/85a72810b8e2ac6c34110d353ed1d6a7 to your computer and use it in GitHub Desktop.
Catatan menggunakan Git
cd C:\laragon\www\kaoskerenid
//menuju ke folder projek
git init .
//berarti kita menginisiasi projek folder ke git
git add FileProjek.php
//menambahkan file FileProjek.php ke (catatan) git
git commit -m "Catatan saat akan upload"
//memberikan catatan setiapkali kita menjalankan perintah upload (push)
git remote add origin https://github.com/uiaciel/Repository-Baru.git
//repository(folder) github tujuan
git push -u origin master
//mengirim file ke github tujuan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment