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]
q>commit perubahan ke repo remot
[sourcecode language="bash"]git push [/sourcecode]
q> Untuk melihat status
[sourcecode language="bash"]git status[/sourcecode]
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
q> Edit file .gitignore
[sourcecode language="bash"]nano .gitignore[/sourcecode]
sumber::
http://arielthekillers.wordpress.com/2011/09/25/belajar-git-menggunakan-github/
No comments:
Post a Comment