OSDN Git Service
(root)
/
twpd
/
master.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8b5547
)
Regular updates
author
Erik
<erikgronwal@users.osdn.me>
Sat, 6 Feb 2021 14:55:04 +0000
(23:55 +0900)
committer
Erik
<erikgronwal@users.osdn.me>
Sat, 6 Feb 2021 14:55:04 +0000
(23:55 +0900)
git-branch.md
patch
|
blob
|
history
diff --git
a/git-branch.md
b/git-branch.md
index
65b43a0
..
0057ba9
100644
(file)
--- a/
git-branch.md
+++ b/
git-branch.md
@@
-95,6
+95,9
@@
git reset --hard
```bash
git reset --hard $commit_id
-# Now push to your branch
+# Now push safely to your branch
+git push --force-with-lease
+
+# Or push brutally to your branch
git push --force
```