Showing posts with label Git. Show all posts
Showing posts with label Git. 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





Sunday, October 1, 2017

Step2 Iseng Git - Versi Hyosoka :D

echo "# hisokacirclebutton" >> README.md
git init
git add .
git commit -m "first commit"
git remote add hisoka_github https://github.com/HyosokaPoipo/hisokacirclebutton.git
git push -u origin master



Buat ngubah alamat remote :
git remote set-url hisoka_github git://new.url.here

Wednesday, September 6, 2017

Ignoring existing file in git

Steps :
1. "git rm -r --cached . "
2. "git add . "

3. "git commit -m 'your commit message'"



doneee... yeaaah... :)


Friday, March 10, 2017

Deleting Branch on Gitlab

We have to login as "master" or "owner" to gitlab in order to delete the branch. Here is the steps..