Showing posts with label Git Bash. Show all posts
Showing posts with label Git Bash. Show all posts

Tuesday, April 30, 2019

Dokumentasi Singkat Test Local Server Git

Untuk ngebuat local server git di laptop kita, kita cuma pake command
git init --bare (ini bakalan ngebuat local server)



terus untuk testing, disini pake dua local client seperti terlihat dibawah (CLIENT1)
CLIENT2 :

Wednesday, July 25, 2018

Iseng Rebase rebase

`git rebase -i HEAD~7`
`git push --force`

`git commit --amend`

Thursday, June 7, 2018

Praktek Git Rebase

Kasus 1 :
Sebelum Rebase tampilan historinya gini :
 Setelah Rebase :

Kasus 2 :
Sebelum rebase :
Setelah rebase :

Sunday, January 28, 2018

Rename and Delete Branch Using Gitbash

Example :

For renaming remote branch, we just have to push our new renamed local branch and then delete the remote branch....


Friday, December 8, 2017

Step-by-Step Git Bash - Not Empty Remote Repo

Ourlocal repo is empty and github is already filled with something. So here's the step


Step-by-Step Git Bash - Empty Remote Repo

Step when initializing our local git and pushing the code to github with empty repository