<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Git on oinume journal</title>
		<link>https://journal.lampetty.net/tags/git/</link>
		<description>Recent content in Git on oinume journal</description>
		<generator>Hugo</generator>
		<language>ja</language>
		
		
		
		
			<lastBuildDate>Mon, 04 Dec 2023 09:00:00 +0900</lastBuildDate>
		
			<atom:link href="https://journal.lampetty.net/tags/git/rss.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>squash mergeの環境でCascading PRsでコンフリクトした時</title>
				<link>https://journal.lampetty.net/posts/resolve-squash-merge-conflict/</link>
				<pubDate>Mon, 04 Dec 2023 09:00:00 +0900</pubDate>
				<guid>https://journal.lampetty.net/posts/resolve-squash-merge-conflict/</guid>
				<description>&lt;p&gt;最近以下のような記事を目にすることがあり、ちょうど自分もsquash mergeの環境でひとつ問題を抱えていたので、その話を自分のメモ代わりに書きたくなった。&lt;/p&gt;</description>
			</item>
			<item>
				<title>Sending pull-request only with terminal and keyboard</title>
				<link>https://journal.lampetty.net/posts/sending-pull-request-only-with-terminal-and-keyboard/</link>
				<pubDate>Wed, 28 Oct 2015 09:00:00 +0900</pubDate>
				<guid>https://journal.lampetty.net/posts/sending-pull-request-only-with-terminal-and-keyboard/</guid>
				<description>&lt;h3 id=&#34;requirements&#34;&gt;Requirements&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Mac&lt;/li&gt;&#xA;&lt;li&gt;Terminal&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;hub&lt;/code&gt; command (&lt;code&gt;brew install hub&lt;/code&gt;)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;how-to-send-pull-request&#34;&gt;How to send pull-request&lt;/h3&gt;&#xA;&lt;p&gt;Make a new branch.&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code data-lang=&#34;fallback&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;$ git checkout -b new-cool-feature&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Editing source code and commit.&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code data-lang=&#34;fallback&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;$ git commit -a&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Push to remote and copy correct &lt;code&gt;git push&lt;/code&gt; command into clipboard.&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code data-lang=&#34;fallback&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;$ git push 2&amp;gt;&amp;amp;1 | grep git | pbcopy&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Paste clipboard into terminal.&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code data-lang=&#34;fallback&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;$ git push --set-upstream origin new-cool-feature&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;Counting objects: 3, done.&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;Delta compression using up to 8 threads.&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;Compressing objects: 100% (3/3), done.&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;Writing objects: 100% (3/3), 324 bytes | 0 bytes/s, done.&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;Total 3 (delta 2), reused 0 (delta 0)&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;To git@github.com:example/example-project.git&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt; * [new branch]      new-cool-feature -&amp;gt; new-cool-feature&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;Branch new-cool-feature set up to track remote branch new-cool-feature from origin.&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Send pull-request by &lt;code&gt;hub&lt;/code&gt;.&lt;/p&gt;</description>
			</item>
			<item>
				<title>ターミナルとキーボードだけでプルリクエストを送る</title>
				<link>https://journal.lampetty.net/posts/sending-pull-request-only-with-terminal-and-keyboard-ja/</link>
				<pubDate>Wed, 28 Oct 2015 09:00:00 +0900</pubDate>
				<guid>https://journal.lampetty.net/posts/sending-pull-request-only-with-terminal-and-keyboard-ja/</guid>
				<description>&lt;p&gt;これは&lt;a href=&#34;https://journal.lampetty.net/entry/sending-pull-request-only-with-terminal-and-keyboard&#34;&gt;Sending pull-request only with terminal and keyboard&lt;/a&gt;の日本語の記事です。&lt;/p&gt;&#xA;&lt;h3 id=&#34;必要なもの&#34;&gt;必要なもの&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Mac&lt;/li&gt;&#xA;&lt;li&gt;Terminal&lt;/li&gt;&#xA;&lt;li&gt;hub command (&lt;code&gt;brew install hub&lt;/code&gt;でインストールしておく)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;how-to-send-pull-request&#34;&gt;How to send pull-request&lt;/h3&gt;&#xA;&lt;p&gt;ブランチを作る&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code data-lang=&#34;fallback&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;$ git checkout -b new-cool-feature&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;ソースを編集する&lt;/p&gt;</description>
			</item>
			<item>
				<title>開発効率をUPする Git逆引き入門を読んだ</title>
				<link>https://journal.lampetty.net/posts/git-gyakubiki-book/</link>
				<pubDate>Wed, 23 Apr 2014 00:20:09 +0900</pubDate>
				<guid>https://journal.lampetty.net/posts/git-gyakubiki-book/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;http://www.amazon.co.jp/exec/obidos/ASIN/4863541465/kazzhomeunixo-22/&#34;&gt;&lt;img src=&#34;http://ecx.images-amazon.com/images/I/51RtoUsheVL._SL160_.jpg&#34; alt=&#34;開発効率をUPする Git逆引き入門&#34; loading=&#34;lazy&#34; title=&#34;開発効率をUPする Git逆引き入門&#34;&gt;&#xA;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;http://www.amazon.co.jp/exec/obidos/ASIN/4863541465/kazzhomeunixo-22/&#34;&gt;開発効率をUPする Git逆引き入門&lt;/a&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;作者: 松下雅和,船ヶ山慶,平木聡,土橋林太郎,三上丈晴&lt;/li&gt;&#xA;&lt;li&gt;出版社/メーカー: シーアンドアール研究所&lt;/li&gt;&#xA;&lt;li&gt;発売日: 2014/04/09&lt;/li&gt;&#xA;&lt;li&gt;メディア: 単行本（ソフトカバー）&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;http://d.hatena.ne.jp/asin/4863541465/kazzhomeunixo-22&#34;&gt;この商品を含むブログ (4件) を見る&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;著者の&lt;a href=&#34;https://twitter.com/matsukaz&#34;&gt;@matsukazu&lt;/a&gt;さんより献本してもらいました。増刷が決まったようでおめでとうございます！すごい遅くなったけど、やっと読み終わったので感想をば。&lt;/p&gt;</description>
			</item>
			<item>
				<title>自宅サーバのGitリポジトリをbitbucketに移行</title>
				<link>https://journal.lampetty.net/posts/wp/462/</link>
				<pubDate>Thu, 03 May 2012 02:05:24 +0900</pubDate>
				<guid>https://journal.lampetty.net/posts/wp/462/</guid>
				<description>&lt;p&gt;サーバの設定ファイルや個人のdotfileを格納していた自宅サーバのGitリポジトリ、よくよく考えたらbitbucketって無料でプライベートリポジトリ作れたよなぁって思って移行してみた。&lt;/p&gt;</description>
			</item>
			<item>
				<title>gitでtagを作成する</title>
				<link>https://journal.lampetty.net/posts/wp/393/</link>
				<pubDate>Thu, 02 Dec 2010 17:12:34 +0900</pubDate>
				<guid>https://journal.lampetty.net/posts/wp/393/</guid>
				<description>&lt;p&gt;gitでのタグの作り方のメモです。&lt;/p&gt;&#xA;&lt;h3 id=&#34;tagを新しく作る&#34;&gt;tagを新しく作る&lt;/h3&gt;&#xA;&lt;p&gt;$ git tag -a 1.0.0 -m &#39;v1.0.0&#39;&lt;/p&gt;&#xA;&lt;h3 id=&#34;remoteにpushする&#34;&gt;remoteにpushする&lt;/h3&gt;&#xA;&lt;p&gt;$ git push origin 1.0.0&lt;/p&gt;&#xA;&lt;h3 id=&#34;tagを表示する&#34;&gt;tagを表示する&lt;/h3&gt;&#xA;&lt;p&gt;$ git tag&lt;/p&gt;&#xA;&lt;h3 id=&#34;tagをremoteから取得する&#34;&gt;tagをremoteから取得する&lt;/h3&gt;&#xA;&lt;p&gt;$ git fetch --tags&lt;/p&gt;&#xA;&lt;p&gt;or&lt;/p&gt;&#xA;&lt;p&gt;$ git pull --tags&lt;/p&gt;&#xA;&lt;h3 id=&#34;tagを削除する&#34;&gt;tagを削除する&lt;/h3&gt;&#xA;&lt;p&gt;$ git tag -d 1.0.0&lt;/p&gt;&#xA;&lt;p&gt;remoteにも反映させる。(タグ名に&#39;:&#39;をつける)&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
