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 :
Showing posts with label Git. Show all posts
Showing posts with label Git. Show all posts
Tuesday, April 30, 2019
Wednesday, July 25, 2018
Iseng Rebase rebase
`git rebase -i HEAD~7`
`git push --force`
`git commit --amend`
`git push --force`
`git commit --amend`
Thursday, June 7, 2018
Praktek Git Rebase
Kasus 1 :
Sebelum Rebase tampilan historinya gini :
Setelah Rebase :Sebelum Rebase tampilan historinya gini :
Kasus 2 :
Sebelum rebase :
Setelah rebase :
Wednesday, June 6, 2018
Thursday, February 1, 2018
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....
For renaming remote branch, we just have to push our new renamed local branch and then delete the remote branch....
Friday, December 15, 2017
Friday, December 8, 2017
Friday, October 27, 2017
Tuesday, October 3, 2017
Monday, October 2, 2017
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... :)
1. "git rm -r --cached . "
2. "git add . "
3. "git commit -m 'your commit message'"
doneee... yeaaah... :)
Thursday, March 23, 2017
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..
Wednesday, August 10, 2016
Subscribe to:
Posts (Atom)