Command Git dan Fungsinya Yang Sering Dipakai
Admin
Posted on: 6 tahun yang lalu
Perintah git atau command line git memang sangat banyak. Namun tidak semuanya suka dipakai berikut perintah git yang wajib diketahui dan sering dipakai beserta masalahnya
#Keterangan
- [] => for changed
- () => short information
- git init [name folder] (for inisal this folder to git)
- git add . (to add to working area all changed)
- git add [name file] (add for spesifict file)
- git commint -m "[input message]"
- git status (check canged added not to working)
- git clone [url repositori] (clone public repo)
- git clone https://username@[url repo] (clone private)
- git push (next input username & password for upload)
- git branch [NameBranch] (Move branch)
- git log (see log all commit)
- ssh-keygen -t rsa -C "[Email]" (add key github by email)
- git pull origin master (to update local from github)