<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Git on POPWEB</title>
    <link>https://pop-web.github.io/categories/git/</link>
    <description>Recent content in Git on POPWEB</description>
    <generator>Hugo</generator>
    <language>ja</language>
    <lastBuildDate>Fri, 10 Apr 2020 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://pop-web.github.io/categories/git/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Gitリモートリポジトリをすべてのブランチごと別のリモートリポジトリへの移行方法</title>
      <link>https://pop-web.github.io/programming/git/remote-repository-migration/</link>
      <pubDate>Fri, 10 Apr 2020 00:00:00 +0000</pubDate>
      <guid>https://pop-web.github.io/programming/git/remote-repository-migration/</guid>
      <description>&lt;p&gt;既存のGitリモートリポジトリを別のGitリモートリポジトリ移行する方法を説明する。&lt;/p&gt;
&lt;p&gt;移行する時、すべてのブランチやコミット履歴も一緒に移行する。&lt;/p&gt;</description>
    </item>
    <item>
      <title>よく使うGitコマンドにエイリアス設定方法</title>
      <link>https://pop-web.github.io/programming/git/git-alias/</link>
      <pubDate>Wed, 28 Aug 2019 00:00:00 +0000</pubDate>
      <guid>https://pop-web.github.io/programming/git/git-alias/</guid>
      <description>&lt;p&gt;よく使うGitコマンドにエイリアス（別名）設定をする方法を説明します。&lt;/p&gt;
&lt;p&gt;例えば以下のようにコマンドを短縮したい場合&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;git status →　git st
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;以下の、コマンドでエイリアスを設定します。&lt;/p&gt;</description>
    </item>
    <item>
      <title>【Gitコマンド】git push のオプション -u ってなに？</title>
      <link>https://pop-web.github.io/programming/git/git-push-u/</link>
      <pubDate>Tue, 20 Aug 2019 00:00:00 +0000</pubDate>
      <guid>https://pop-web.github.io/programming/git/git-push-u/</guid>
      <description>&lt;p&gt;Gitコマンドを学習していて、pushするときに以下のようなコマンドが良く出てくる&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;git push -u origin master
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;このオプションの「-u」なにかということです。&lt;/p&gt;
&lt;p&gt;ちなみに、originはリモート名（別名）で、masterはブランチ名（メインブランチ）です。&lt;/p&gt;</description>
    </item>
    <item>
      <title>【Gitコマンド】ファイル変更の取り消し方法</title>
      <link>https://pop-web.github.io/programming/git/git-cancel/</link>
      <pubDate>Mon, 19 Aug 2019 00:00:00 +0000</pubDate>
      <guid>https://pop-web.github.io/programming/git/git-cancel/</guid>
      <description>&lt;p&gt;ファイルを変更した後、その変更と取り消したい場合のGitコマンドを説明します。&lt;/p&gt;
&lt;p&gt;また、ステージに追加したファイルについて、一旦ステージの追加を取り消してからローカルのファイルの変更の取り消しを行います。&lt;/p&gt;</description>
    </item>
    <item>
      <title>【Gitコマンド】管理したくないファイルを管理外にする</title>
      <link>https://pop-web.github.io/programming/git/git-rm/</link>
      <pubDate>Sun, 18 Aug 2019 00:00:00 +0000</pubDate>
      <guid>https://pop-web.github.io/programming/git/git-rm/</guid>
      <description>&lt;h1 id=&#34;ファイルをgitの管理外するには&#34;&gt;ファイルをGitの管理外するには？&lt;/h1&gt;
&lt;p&gt;以下、2点について説明します。&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;.gitignoreファイルを作成して管理外にする方法&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;.gitignoreファイルを作成または、書くのを忘れてコミットしたファイルを管理外にする方法&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;gitignoreファイルを作成&#34;&gt;.gitignoreファイルを作成&lt;/h2&gt;
&lt;p&gt;.gitignoreファイルに書かれたファイル名・ディレクトリ名はGitの管理外になり、コミットされません。&lt;/p&gt;</description>
    </item>
    <item>
      <title>Gitの初期設定、やったほうがいい設定など</title>
      <link>https://pop-web.github.io/programming/git/git-nitial-setting/</link>
      <pubDate>Sat, 17 Aug 2019 00:00:00 +0000</pubDate>
      <guid>https://pop-web.github.io/programming/git/git-nitial-setting/</guid>
      <description>&lt;p&gt;Gitをインストールしたら、まずやっておくべき初期設定です。&lt;/p&gt;
&lt;h1 id=&#34;ユーザ情報の登録&#34;&gt;ユーザ情報の登録&lt;/h1&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;git config --global user.name &amp;#34;user name&amp;#34;
&lt;/code&gt;&lt;/pre&gt;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;git config --global user.email &amp;#34;mail@example.jp&amp;#34;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;設定内容の確認&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;git config --global -l
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;とえあえず、はじめにこれをやっておきましょう。&lt;/p&gt;</description>
    </item>
    <item>
      <title>既存のディレクトリにローカルリポジトリ作成しをGitHubに登録する</title>
      <link>https://pop-web.github.io/programming/git/git-regist/</link>
      <pubDate>Tue, 28 May 2019 00:00:00 +0000</pubDate>
      <guid>https://pop-web.github.io/programming/git/git-regist/</guid>
      <description>&lt;p&gt;※gitは事前にインストールしているものする。&lt;/p&gt;
&lt;p&gt;git管理していない作業ディレクトリや、すでにローカルリポジトリがある場合にGitHubへ登録する手順を書く。&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
