Fakultas Ilmu Komputer UI
Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
pplc7
blog
Commits
36832bfd
Commit
36832bfd
authored
Mar 21, 2019
by
Ragil Al Badrun Pasaribu
Browse files
Update post git amend
parent
1fa3bd95
Pipeline
#9920
failed with stage
in 50 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
36832bfd
...
...
@@ -8,7 +8,7 @@ stages:
-
deploy
deploy
:
image
:
2.5-alpine3.8
image
:
ruby:
2.5-alpine3.8
stage
:
deploy
script
:
-
apk add curl zip
...
...
_posts/2019-03-21-git-amend.md
View file @
36832bfd
...
...
@@ -29,8 +29,10 @@ git rebase -i <commit>
Kemudian, untuk commit yang ingin di-edit maka ganti __pick__ menjadi __edit__.
Lalu, rebase akan mulai berjalan dan akan berhenti sementara pada commit yang ditandai __edit__.
Lakukan
`git commit --amend`
untuk mengganti data yang diperlukan.
Lakukan
`git commit --amend --author="Author Name <email@address.com>"`
untuk mengganti nama yang
diperlukan atau gunakan
`git commit --amend --date "<date>"`
untuk mengganti waktu dan tanggal.

Terakhir, lakukan
`git rebase --continue`
hingga selesai.
Terakhir, lakukan
`git rebase --continue`
hingga selesai
dan
`git push -f`
.
assets/images/2019-03-21-git-amend/amend1.png
View replaced file @
1fa3bd95
View file @
36832bfd
39 KB
|
W:
|
H:
27.9 KB
|
W:
|
H:
2-up
Swipe
Onion skin
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment