Skip to content

bpamuji/LearnGIT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hello, binarian
hari ini kita akan belajar lebih mendalam tentang git
perintah dalam  git :
git init
git add .
git commit = 
git push -u origin master = memasukkan file yang telah di commit ke dalam  git
git add remote giturl
git diff -r
HEAD~1
touch nama file = membuat file baru di terminal
mkdir = membuat folder baru lewat terminal
git annotate namafile == untuk melihat siapa yang modify file tsb
git log = melihat informasi history project atau file
git show = untuk menampilkan informasi detail tentang commit terakhir
git diff id1..id2 = untuk menampilakn 2 perubahan antara commit 1 dan 2
git diff HEAD~1..HEAD~2 = menampilkan perbedaan antara state repo commit 1 and state repo commit 2
git pull= untuk mendownload perubahan yang ada di repo pusat
git branch branch_baru= membuat branch baru gunanya adalah untuk kolaborasi antar developer
di suatu project

About

Learn git from kelaskita.com

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors