Gitに関するhnwのブックマーク (8)

  • こわくない Git

    8. コミットに入ってる情報 リビジョン (SHA-1 ハッシュ) 例: 23cdd334e6e251336ca7dd34e0f6e3ea08b5d0db Author (コミットを作成した人) 例: オープンソースプロジェクトにパッチを送った人 Committer (コミットを適用した人) 例: 受け取ったパッチを取り込んだ人 ファイルのスナップショット (tree) コミットで変更されたファイルを含むツリー(説明は省略) 1つ前のコミットのリビジョン 例: 4717e3cf182610e9e82940ac45abb0d422a76d77 9. コミットに入ってる情報 リビジョン (SHA-1 ハッシュ) 例: 23cdd334e6e251336ca7dd34e0f6e3ea08b5d0db Author (コミットを作成した人) 例: オープンソースプロジェクトにパッチを送った人 Co

    こわくない Git
    hnw
    hnw 2013/07/04
  • rebaseにまつわる3つの誤解

    "3 superstitions concerning git rebase" In-house training material at Cybozu. Read less

    rebaseにまつわる3つの誤解
    hnw
    hnw 2012/11/20
  • Combine the first two commits of a Git repository?

    Suppose you have a history containing the three commits A, B and C: A-B-C I would like to combine the two commits A and B to one commit AB: AB-C I tried git rebase -i A which opens up my editor with the following contents: pick e97a17b B pick asd314f C I change this to squash e97a17b B pick asd314f C Then Git 1.6.0.4 says: Cannot 'squash' without a previous commit Is there a way or is this just im

    Combine the first two commits of a Git repository?
    hnw
    hnw 2012/10/19
    最初のcommitが絡んだrebase -iをどうするかについて。
  • git 1.7.12でUTF8-MAC問題が解決 | Butaman-kun Project

    gitの唯一の弱点は日語ファイル名に弱いことだ。 つい最近WindowsではUTF-8ファイル名に対応したが、MacではUTF8-MAC(UTF-8-MAC)問題という持病を抱えていた。 このため、WindowsLinuxで濁点、半濁点とかの入った日語ファイル名のファイルを含むリポジトリを作成し、Mac上にcloneすると、次の画像のようにこれらのファイルをリポジトリ内のファイルとして見なしてくれないと言う問題があった。 日語ファイル名が使えなかった旧バージョンのgit 簡単に説明すると、ファイル名の見た目はLinux等と一緒だが、文字コード的に濁点の扱いが微妙に違うためである。ある意味、文字化けの類の問題である。この説明はかなり端折っていて不正確なので、技術的な詳細はこちらを参照して欲しい。 これまで、解決するにはnfsをマウントする方法や、パッチはあったが、家では取り込まれて

    hnw
    hnw 2012/09/25
  • How do I enable the ident string for a Git repository?

    Summary: The recommended way of embedding version information in a product is to use the build system for that; see below for details and alternate approaches. In Git (and I think usually also in other VCS systems with atomic commits) there is no such thing like version of a single file. Git does support on-demand expansion of $Id:$ keyword, but: It is done on request only. You have to specify (pe

    How do I enable the ident string for a Git repository?
    hnw
    hnw 2012/09/25
    git管理している自作ソフトウェアにバージョン情報を埋め込みたい場合にどうするか。
  • git submoduleの更新 - rochefort's blog

    2017.8.31 追記 この記事は間違っています。正しくは下記でした。 git submoduleの更新方法を勘違いしていた 昔書いた記事を参考にしてくださった方がいて、 でも「git submodule updateで更新できないよ」と。 gitのsubmoduleだけを最新版にしたい場合のコマンドメモ - Reinvention of the Wheel 私自身もgit submodule updateで更新できると思ってました。 というか、一度も更新処理試してなかった。 結論から言うと これでOKでした。foreach便利。 $ git submodule foreach 'git pull origin master' $ git submodule update ですが、no branch になってしまってるsubmoduleがあったので、pullするのはこっちの方がいいかもし

    git submoduleの更新 - rochefort's blog
    hnw
    hnw 2012/02/05
  • Hibernating Rhinos

    hnw
    hnw 2011/05/23
  • Accueil

    Les Sociétés Civiles de Placement Immobilier (SCPI) se sont imposées comme une solution d'investissement de choix, attirant un nombre croissant d'investisseurs en quête de diversification et de rendements potentiellement plus élevés. Dans un contexte économique en constante évolution, où les investisseurs cherchent à optimiser leur portefeuille tout en minimisant les risques, les SCPI représentent

    hnw
    hnw 2011/05/21
    バイナリファイルの差分おもしろい。
  • 1