belajar github add commit push repo local dan remote | java php laravel linux mysql sql bootstrap html css query java php laravel linux mysql sql bootstrap html css query: belajar github add commit push repo local dan remote

Wednesday, January 16, 2013

belajar github add commit push repo local dan remote

Belajar github

q> Menambah file ke repo local

[sourcecode language="bash"]git add .[/sourcecode]

q> commit perubahan ke repo local

[sourcecode language="bash"]git commit -m "Test commit ke Repo Local" [/sourcecode]

Selection_003

q>commit perubahan ke repo remot

[sourcecode language="bash"]git push [/sourcecode]

Selection_004

q> Untuk melihat status

[sourcecode language="bash"]git status[/sourcecode]

Selection_005

q> Update perubahan dari repo remote

[sourcecode language="bash"]git pull[/sourcecode]

q> File .gitignore , file ini digunakan untuk memberitahukan kepada git supaya jangan melakukan update terhadap file-file yang sudah di deklarasikan di file ini, confoh filenya adalah .class
Selection_006

q> Edit file .gitignore

[sourcecode language="bash"]nano .gitignore[/sourcecode]

Selection_007

sumber::
http://arielthekillers.wordpress.com/2011/09/25/belajar-git-menggunakan-github/

No comments:

Post a Comment

saifiahmada.com adalah blog belajar programming Indonesia, membahas lengkap materi bahasa pemrograman: code HTML, CSS, Bootstrap, Desain, PHP, MySQL, coding Java, Query, SQL, dan dunia linux