linux:git

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
次のリビジョン両方とも次のリビジョン
linux:git [2019/02/26 09:15] ともやんlinux:git [2019/09/13 09:22] – [強制的にリモートブランチの最新に合わせる] ともやん
行 1: 行 1:
-<ifauth !@loggedinusers><html><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> 
-<script> 
-  (adsbygoogle = window.adsbygoogle || []).push({ 
-    google_ad_client: "ca-pub-0791334967460971", 
-    enable_page_level_ads: true 
-  }); 
-</script></html></ifauth> 
 ====== Git - 分散型バージョン管理システム ====== ====== Git - 分散型バージョン管理システム ======
  
行 24: 行 17:
 <code> <code>
 $ git reset --hard origin/master $ git reset --hard origin/master
 +</code>
 +ローカルの状態を確認する。\\
 +<code>
 +$ git status
 +On branch master
 +Your branch is up to date with 'origin/master'.
 +
 +nothing to commit, working tree clean
 </code> </code>
 ===== トラブルシューティング ===== ===== トラブルシューティング =====
行 80: 行 81:
 ===== 参考文献 ===== ===== 参考文献 =====
 [[http://www-creators.com/archives/1097|git pull を強制し、リモートでローカルを上書きする方法 | WWWクリエイターズ]]\\ [[http://www-creators.com/archives/1097|git pull を強制し、リモートでローカルを上書きする方法 | WWWクリエイターズ]]\\
- 
-<ifauth !@loggedinusers><html><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> 
-<script> 
-  (adsbygoogle = window.adsbygoogle || []).push({ 
-    google_ad_client: "ca-pub-0791334967460971", 
-    enable_page_level_ads: true 
-  }); 
-</script></html></ifauth> 
  
  • linux/git.txt
  • 最終更新: 2023/09/01 13:18
  • by ともやん