タグ

関連タグで絞り込む (0)

  • 関連タグはありません

タグの絞り込みを解除

gitに関するdesingのブックマーク (11)

  • 複数個前のコミットにさかのぼって履歴を書き換える - Qiita

    git 使うようになってまだ日が浅いけど、 初めてそこそこテクニカルなことをしたように感じたのでメモっておこう。 コミット3:piyoファイルを修正 コミット2:fugaファイルを修正 コミット1:hogeファイルを修正 こんな感じで三回に分けてコミットしていて、 さあmasterにプッシュするぞという直前に hogeファイルに追加で修正しないといけないものがあったと気づいた。 普通にコミットして コミット4:hogeファイルを修正(対応漏れ…) コミット3:piyoファイルを修正 コミット2:fugaファイルを修正 コミット1:hogeファイルを修正 こういう履歴にしたくなくって、 来はコミット1でやっておくべきだったのでこれに含めたい。 最後のコミットpiyoへの追加ならgit commit --amendで済むのだけど、 これはちょっと複雑そう。 こんなふうにやるとできる。 git

    複数個前のコミットにさかのぼって履歴を書き換える - Qiita
    desing
    desing 2014/05/08
    数個前のコミットをammend(編集)する方法
  • git による分散作業パターン | GREE Engineering

    分散バージョン管理を華麗に扱いたい堀口です。 GREE Advent calendar 2013 の 14 日目として参加させていただきます。 お二人に続き Haskell の話をしようかと思ったのですが、急遽無難な開発の話に変更しました :o JavaC++ には OOP の概念が必要であったように、分散作業の認識が薄いまま git や Mercurial を使うことは長期的に不幸をもたらします。 とあるプロジェクトにて、その一部を副産物のミドルウェアとして抽出すべく、アプリケーションと分離したい 不具合があったので原因を探りたいが、依存関係が複雑すぎるのでコードを読む量を減らしたい テストやレビュー、提案、リファクタの運用を強化したい よそのプロジェクトに迷惑を掛けないように、そこのツールを改良して使いたい。 いままで何気なく「こんなもんだろう」と思って手間をかけていませんでした

    git による分散作業パターン | GREE Engineering
    desing
    desing 2013/12/21
  • layer8.sh

    This domain may be for sale!

    desing
    desing 2013/12/09
    中級者向けgitの便利な使い方
  • layer8.sh

    This domain may be for sale!

    desing
    desing 2013/12/09
    rebaseの説明がわかりやすかった
  • github/gitignore at master - GitHub

    You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

    github/gitignore at master - GitHub
    desing
    desing 2013/09/27
    gitignore集
  • git ready » pushing and pulling

    Today we’re going to review another basic yet powerful concept that Git among other version control systems of its type has: distribution! As you may know, your commits are all local, and repositories are simply clones of each other. That means the real work in distributing your projects is in synchronizing the changes via git push and git pull. If you’re new to Git, you may think that this is too

    desing
    desing 2013/09/06
    Gitコマンド図解
  • 【翻訳】Gitのコミットメッセージに関する注意点

    Tim Popeさんの "A Note About Git Commit Messages" を翻訳しました。 元記事はこちら: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html (翻訳の公開は人より許諾済みです) 翻訳の間違い等があればブログコメントやTwitter(@oshow)などで遠慮無くご指摘ください。 Gitのコミットメッセージ に関する注意点 良い形式のコミットメッセージを書くということについて、時間を取って説こうと思う。私が考えるに、コミットメッセージ形式に関するベストプラクティスは、Git を素晴らしくしてくれる小さなディティールの一つだ。rails.git への最初のコミットのいくつかは、(折り返しのない)長文による多様なコミットメッセージを含んでおり、なぜこれがはっきり言ってお粗

    desing
    desing 2012/12/10
  • Git - Book

    The entire Pro Git book, written by Scott Chacon and Ben Straub and published by Apress, is available here. All content is licensed under the Creative Commons Attribution Non Commercial Share Alike 3.0 license. Print versions of the book are available on Amazon.com. The version found here has been updated with corrections and additions from hundreds of contributors. If you see an error or have a s

    desing
    desing 2012/06/10
    本 入門
  • 【翻訳】Gitをボトムアップから理解する

    John Wiegleyさんの "Git from the bottom up" を翻訳しました。 元PDFはこちらからダウンロードできます: http://newartisans.com/2008/04/git-from-the-bottom-up/ 元記事のライセンスがクリエイティブコモンズのBY-SAであったため、この翻訳もBY-SAとなります。 ライセンスを守って自由にご利用ください。(詳しくは記事内の最初にも書いてあります) 翻訳ミスの指摘や改善の提案等があればブログコメントやTwitter(@oshow)などで遠慮なくどうぞ。 Git をボトムアップから理解する Wed, 2 Dec 2009 by John Wiegley 私が Git を理解しようと調査した時、高級なコマンドの視点から眺めるよりボトムアップ式に理解することが役立った。そしてボトムアップ視点で見る Git

    【翻訳】Gitをボトムアップから理解する
    desing
    desing 2012/06/10
    入門
  • git reset についてもまとめてみる - murankの日記

    前回 git diff を図に書いてみたところ、自分の中で意外と整理できたので、これまたなんとなく使っていた git reset についてもまとめてみた。 とりあえず結論を先にまとめよう。 git reset とは? HEAD の位置を変更するコマンド。 オプションによってインデックス、ワーキングツリーの内容も変更できる。 git reset のオプションは? --soft、--mixed(オプションなしと同等)、--hard オプションがあり、影響度の小さい順に以下のようになる。 --soft HEAD の位置のみを変更する。インデックス、ワーキングツリーには影響なし。 --mixed (またはオプションなし) HEAD の位置とインデックスを変更する。ワーキングツリーには影響なし。 --hard HEADの位置、インデックス、ワーキングツリーをすべて変更する。 さて、git reset

    git reset についてもまとめてみる - murankの日記
    desing
    desing 2012/06/10
    hardとかsoftとか
  • A successful Git branching model » nvie.com

    Note of reflection (March 5, 2020) This model was conceived in 2010, now more than 10 years ago, and not very long after Git itself came into being. In those 10 years, git-flow (the branching model laid out in this article) has become hugely popular in many a software team to the point where people have started treating it like a standard of sorts — but unfortunately also as a dogma or panacea. Du

    A successful Git branching model » nvie.com
    desing
    desing 2012/06/10
    developブランチ作ってそっちで開発するという手法  図がいい
  • 1