タグ

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

  • git-cherry-pickを掘り下げる - idesaku blog

    Gitにgit-cherry-pickという、知らなくてもなんとかなるが知っていると便利なコマンドがある。このコマンドを少し掘り下げてみた。 git-cherry-pick git-cherry-pickは、狙ったコミットの変更内容だけを現在のブランチに取り込む操作である。 例えば、つぎのような履歴を想定する。 ---A---B---C [master] \ \ ---X---Y [temp]ここで、YはCの後にコミットするほうが適切であることに気づいた。このとき、masterブランチで次のようにすると目的は達成される*1。 $ git cherry-pick YコミットYの変更内容だけをmasterのHEADに適用する、という操作である。このときXの変更内容は適用されない点がgit-mergeとは異なる。 ---A---B---C---Y' [master] \ \ ---X---Y [

    git-cherry-pickを掘り下げる - idesaku blog
  • CVSリポジトリからソースコードを取得してEclipse+Gitで編集・管理する手順メモ | 情報科学屋さんを目指す人のメモ

    Eclipseを使って、CVSリポジトリ上にあるソフトウェア(Overlay Weaver)をチェックアウトして、Gitで管理するまでのメモ。 目次 1. チェックアウト2. CVSから切り離す2.1. Confirm Disconnect from CVS3. Gitレポジトリと関連づける3.1. Gitレポジトリの新規作成3.2. Gitレポジトリとの関連づけ3.3. ※ここでエラーが出たときは3.4. Problem Occurred4. 初回のコミットをする5. あとは自由にコミットを スポンサーリンク チェックアウト CVSレポジトリからのチェックアウト自体は「オーバレイ構築ツールキットOverlay Weaverの導入方法と基的な使い方(2012年6月版)」から。 CVSから切り離す 「プロジェクト名を右クリック>Team>Disconnect...」とすると、 Confir

    CVSリポジトリからソースコードを取得してEclipse+Gitで編集・管理する手順メモ | 情報科学屋さんを目指す人のメモ
  • Eclipse+Git(EGit)を使うなら「Git Staging View」がオススメ!

    Eclipseでコミットするとき、「コミットダイアログ(Ctrl+#)」を使っていたのですが、たまたま表示させてみた「Git Staging View」を使ってみたところ、なかなかよかったのでメモ。 目次 1. Git Staging View2. 気に入ったところ3. 追記3.1. diffを見る3.2. 変更前に戻す スポンサーリンク Git Staging View 「Window>Show View...>Otehrs...」にある「Git>Git Staging」を選択して「OK」をクリックすると、次のような「Git Staging View」が表示されます。 よく使われる「History View」や「Git Repositories View」にくらべてマイナーな気がするのですが、試しにちょっと使ってみたら便利でした。 気に入ったところ このViewには、「変更はあるがコミッ

    Eclipse+Git(EGit)を使うなら「Git Staging View」がオススメ!
  • 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
    did2
    did2 2011/05/16
    ブランチの例
  • Git User Manual

    Git is a fast distributed revision control system. This manual is designed to be readable by someone with basic UNIX command-line skills, but no previous knowledge of Git. Chapter 1, Repositories and Branches and Chapter 2, Exploring Git history explain how to fetch and study a project using git—​read these chapters to learn how to build and test a particular version of a software project, search

    did2
    did2 2011/05/13
  • Git ユーザマニュアル (バージョン 1.5.3 以降用)

    Git ユーザマニュアル (バージョン 1.5.3 以降用)   NextGit ユーザマニュアル (バージョン 1.5.3 以降用)Table of Contents Preface1. リポジトリとブランチgit リポジトリの取得方法プロジェクトの他のバージョンのチェックアウト方法履歴の理解:コミットブランチの運用新しいブランチを作成せずに古いバージョンを取得する方法リモートリポジトリのブランチの調査ブランチ、タグ、その他リファレンスの命名法git fetch を用いたリポジトリの更新他のリポジトリからのブランチの取得2. 履歴の探索リグレッションを見つける為の bisect の使用方法コミットの指定方法タグの作成方法リビジョンの閲覧方法差分の生成方法古いファイルバージョンの参照例3. git を使用した開発git に自分の名前を教える新規リポジトリの作成コミットの方法良いコミットメッ

    did2
    did2 2011/05/13
    Pro Gitの次に読むなら!とのおすすめ。和訳。
  • NDP Software :: Git Cheatsheet

    stash workspace index local repository upstream repository status Displays paths that have differences between the index file and the current HEAD commit, paths that have differences between the workspace and the index file, and paths in the workspace that are not tracked by git. diff Displays the differences not added to the index. diff commit or branch View the changes you have in your workspace

    did2
    did2 2011/05/12
    見た目が斬新。そして、明らかに入門者向けではない。ただ、ちょっと分かってきたときに理解の参考になるらしい。というか、いかにもなりそう。
  • Amazon.co.jp: 入門Git: 濱野純(Junio C Hamano): 本

    Amazon.co.jp: 入門Git: 濱野純(Junio C Hamano): 本
    did2
    did2 2011/05/12
    とっても分かりやすくて、リファレンスにとどまらず実際的らしい。とっても良さげ。
  • Accueil

    Paris, la ville lumière, s'enrichit d'une nouvelle attraction sensationnelle qui fera le bonheur des amateurs de sensations fortes et des fans de super-héros. Le Batman Escape Game a ouvert ses portes, proposant une expérience immersive unique dans l'univers du Chevalier Noir. Ce nouvel escape game situé en plein cœur de la capitale promet de devenir un incontournable pour tous... Les transactions

    did2
    did2 2011/05/12
    Pro Gitという本の日本語訳が読めるページ。とってもお得な感じ。
  • GitHub Services

    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 Services
    did2
    did2 2011/05/12
    初学者・入門者向けチュートリアルらしい。すごく分かりやすそう。これをまず読む
  • GitインストールからEclipse (EGit)からのCommit / Pushまでメモ

    何かのやり方や、問題の解決方法をどんどんメモするブログ。そんな大学院生の活動「キャッシュ」に誰かがヒットしてくれることを祈って。 概要 Gitインストール→サーバ側のレポジトリ作成→EGitインストール→既存プロジェクトをローカルのGitレポジトリに→Addしてローカルにコミット→サーバ側のレポジトリに(公開鍵を利用した)ssh越しにPush 基的にはEgitのUser's Guide(英語)がベースになっています。 前提 サーバ側はUbuntu 10.04.1 、作業するPCWindows 7 64bit、使用したEclipseのバージョンははHelios。サーバには公開鍵を利用したSSH接続が"user01"というアカウントから利用できるものとします。 $ sudo apt-get install git-core これだけでインストール完了ちなみにインストールされたのは「git-

  • 1