<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://deffcon.com/index.php?action=history&amp;feed=atom&amp;title=GIT</id>
	<title>GIT - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://deffcon.com/index.php?action=history&amp;feed=atom&amp;title=GIT"/>
	<link rel="alternate" type="text/html" href="https://deffcon.com/index.php?title=GIT&amp;action=history"/>
	<updated>2026-06-05T06:28:40Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://deffcon.com/index.php?title=GIT&amp;diff=680&amp;oldid=prev</id>
		<title>Rusyanto: Created page with &quot;== ✅ Langkah-langkah Upload Project Lokal ke Repo GitHub Kosong (via VS Code) ==  === 💡 Misalnya: ===  * Nama repo GitHub kamu: &lt;code&gt;traccar&lt;/code&gt; * URL GitHub repo: &lt;code&gt;&lt;nowiki&gt;https://github.com/rusyantonet/traccar.git&lt;/nowiki&gt;&lt;/code&gt;  === 🔹 1. Buka VS Code → Buka folder project kamu ===  === 🔹 2. Inisialisasi Git (jika belum) === Buka terminal (Ctrl + `) dan ketik:  git init 🔹 3. Tambahkan semua file &amp; commit  git add .  git commit -m &quot;Initial comm...&quot;</title>
		<link rel="alternate" type="text/html" href="https://deffcon.com/index.php?title=GIT&amp;diff=680&amp;oldid=prev"/>
		<updated>2025-06-08T07:44:01Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== ✅ Langkah-langkah Upload Project Lokal ke Repo GitHub Kosong (via VS Code) ==  === 💡 Misalnya: ===  * Nama repo GitHub kamu: &amp;lt;code&amp;gt;traccar&amp;lt;/code&amp;gt; * URL GitHub repo: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;https://github.com/rusyantonet/traccar.git&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;  === 🔹 1. Buka VS Code → Buka folder project kamu ===  === 🔹 2. Inisialisasi Git (jika belum) === Buka terminal (Ctrl + `) dan ketik:  git init 🔹 3. Tambahkan semua file &amp;amp; commit  git add .  git commit -m &amp;quot;Initial comm...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== ✅ Langkah-langkah Upload Project Lokal ke Repo GitHub Kosong (via VS Code) ==&lt;br /&gt;
&lt;br /&gt;
=== 💡 Misalnya: ===&lt;br /&gt;
&lt;br /&gt;
* Nama repo GitHub kamu: &amp;lt;code&amp;gt;traccar&amp;lt;/code&amp;gt;&lt;br /&gt;
* URL GitHub repo: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;https://github.com/rusyantonet/traccar.git&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 🔹 1. Buka VS Code → Buka folder project kamu ===&lt;br /&gt;
&lt;br /&gt;
=== 🔹 2. Inisialisasi Git (jika belum) ===&lt;br /&gt;
Buka terminal (Ctrl + `) dan ketik:&lt;br /&gt;
 git init&lt;br /&gt;
🔹 3. Tambahkan semua file &amp;amp; commit&lt;br /&gt;
 git add .&lt;br /&gt;
 git commit -m &amp;quot;Initial commit&amp;quot;&lt;br /&gt;
🔹 4. Tambahkan remote GitHub&lt;br /&gt;
 git remote add origin &amp;lt;nowiki&amp;gt;https://github.com/rusyantonet/traccar.git&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 🔹 5. Push ke GitHub ===&lt;br /&gt;
Karena repo GitHub masih kosong, kamu bisa langsung push:&lt;br /&gt;
 git push -u origin master&lt;br /&gt;
Atau jika kamu pakai &amp;lt;code&amp;gt;main&amp;lt;/code&amp;gt;:&lt;br /&gt;
 git push -u origin main&lt;br /&gt;
💡 Jika error soal branch (misalnya pakai &amp;lt;code&amp;gt;main&amp;lt;/code&amp;gt; vs &amp;lt;code&amp;gt;master&amp;lt;/code&amp;gt;), kamu bisa cek branch aktif:&lt;br /&gt;
 git branch&lt;br /&gt;
Kalau kamu ada di &amp;lt;code&amp;gt;master&amp;lt;/code&amp;gt;, pastikan GitHub juga pakai &amp;lt;code&amp;gt;master&amp;lt;/code&amp;gt;, atau buat branch &amp;lt;code&amp;gt;main&amp;lt;/code&amp;gt;:&lt;br /&gt;
 git branch -M main&lt;br /&gt;
 git push -u origin main&lt;br /&gt;
&lt;br /&gt;
=== ✅ Setelah Push Berhasil: ===&lt;br /&gt;
Buka GitHub dan cek — semua file dari VS Code akan muncul di repo.&lt;br /&gt;
&lt;br /&gt;
== Pranala Menarik ==&lt;br /&gt;
https://github.com/rusyantonet/traccar.git&lt;br /&gt;
&lt;br /&gt;
[[GPS Tracking]]&lt;/div&gt;</summary>
		<author><name>Rusyanto</name></author>
	</entry>
</feed>