<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:wfw="http://wellformedweb.org/CommentAPI/">
<channel>
<title>dwt&#039;s life - git</title>
<link>https://dwt.life/tag/git/</link>
<atom:link href="https://dwt.life/feed/tag/git/" rel="self" type="application/rss+xml" />
<language>zh-CN</language>
<description></description>
<lastBuildDate>Sat, 11 Jun 2022 16:04:00 +0800</lastBuildDate>
<pubDate>Sat, 11 Jun 2022 16:04:00 +0800</pubDate>
<item>
<title>Git PR进行修改后重新提交代码</title>
<link>https://dwt.life/archives/249/</link>
<guid>https://dwt.life/archives/249/</guid>
<pubDate>Sat, 11 Jun 2022 16:04:00 +0800</pubDate>
<dc:creator>Ricky</dc:creator>
<description><![CDATA[最近提交一个pr但是被要求修改了，于是我重新执行了git命令进行commit覆盖。git add -A  git commit --amend  git push --force-with-le...]]></description>
<content:encoded xml:lang="zh-CN"><![CDATA[
<p>最近提交一个pr但是被要求修改了，于是我重新执行了git命令进行commit覆盖。<br><code>git add -A</code>  <br><code>git commit --amend</code>  <br><code>git push --force-with-lease</code><br>push之前可以检查一下branch: <code>git branch -vv</code></p><p><a href="https://docs.github.com/cn/pull-requests/committing-changes-to-your-project/creating-and-editing-commits/changing-a-commit-message">https://docs.github.com/cn/pull-requests/committing-changes-to-your-project/creating-and-editing-commits/changing-a-commit-message</a></p>
]]></content:encoded>
<slash:comments>0</slash:comments>
<comments>https://dwt.life/archives/249/#comments</comments>
<wfw:commentRss>https://dwt.life/feed/tag/git/</wfw:commentRss>
</item>
</channel>
</rss>