OSDN Git Service

Regular updates
[twpd/master.git] / git-branch.md
index 65b43a0..0057ba9 100644 (file)
@@ -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
 ```