瀏覽代碼

Merge pull request #12366 from bboreham/12337-force-push

Add -f option and explanation to push after rebase
Alexander Morozov 10 年之前
父節點
當前提交
3748def343
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      docs/sources/project/work-issue.md

+ 3 - 2
docs/sources/project/work-issue.md

@@ -191,9 +191,10 @@ You should pull and rebase frequently as you work.
 
 
 	Make sure you include your signature.
 	Make sure you include your signature.
 
 
-8. Push any changes to your fork on GitHub.
+8. Push any changes to your fork on GitHub, using the `-f` option to
+force the previous change to be overwritten.
 
 
-		$ git push origin 11038-fix-rhel-link
+		$ git push -f origin 11038-fix-rhel-link
 
 
 
 
 ## Where to go next
 ## Where to go next