Developer Certificate of Origin Version 1.1 Copyright (C) 2004, 2006 The Linux Foundation and its contributors. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Developer's Certificate of Origin 1.1 By making a contribution to this project, I certify that: (a) The contribution was created in whole or in part by me and I have the
タグの付け方については、この記事の最後の方でちょろっと書いたけど、間違って付けちゃったりしたタグを消す方法がわからなくて調べたのでメモ。 前提 こうやって付けたタグを消したい場合の話。 $ git tag -a 0.2 -m 'hogehoge' $ git push --tags タグの消し方 git tagに-dオプションを付けて消した上で、GitHubのクローン用アドレスに向かってpushすると消せるみたい。 $ git tag -d 0.2 $ git push git@github.com:ruedap/hello-github.git :0.2 git remoteにoriginとしてGitHubが登録されているなら、わざわざアドレスを打たずにoriginでいける。 $ git remote heroku origin $ git tag -d 0.2 $ git push o
チームで作成しているソースコードの管理は自分のデスクの下に置いているLinuxマシンで、Subversionでバージョンを使っていたのですが、ちょっとGit(ジットギット)に興味が出てきたので、無料のツールとサービスを利用してバージョン管理をしてみようと思い、設定してみました。 今回は「Bitbucket + SourceTree」のWindows版を使ってやってみたいと思います。 ファイルのバージョン管理とは そもそもファイルのバージョン管理とはどういうことなのか。 単純に言えば、誰かが更新したファイルの更新内容や、更新内容など「更新履歴」を管理する事。 ある時点のファイル内容まで更新内容を遡ることが出来たりと、過去のソースコードを保存してくれたりする頼もしい存在でもあります。 チーム作業の場合、複数人で同じソースコードを編集するなんてことがあると思うのですが、その際によくある先祖返りや
Gitポケットリファレンス 作者: 岡本隆史,武田健太郎,相良幸範出版社/メーカー: 技術評論社発売日: 2012/07/10メディア: 単行本(ソフトカバー)購入: 7人 クリック: 103回この商品を含むブログ (26件) を見る こちらの書籍を著者様より献本いただきました。ありがとうございます! 本書は、GitHubなどの既存の共有リポジトリの使用を前提として、これから開発に参加しようという読者を想定しているため、「どういうシーンでどのgitコマンドを使えばいいのか」が明確で、わかりやすい構成になっています。実用面にフォーカスしたGitの解説書としては、今のところベストな1冊ではないでしょうか。 ところで・・・・ ちなみに私の場合は、ソースコードを書く時間よりは、読む時間の方がずっと長いのですが、実は「ソースを読むツール」としてもGitは有用です。 Gitリポジトリにはソースコードの
git indexの中身がどうなっているのか知りたくてソースコードを読んだ。 そうそう、以前「first commitが1200行くらいで読みやすい」とオススメされたけど、openssl関係のエラーが出たのでさっさと諦めて最新のバージョンを読んでる。 で、read-cache.cの中のint write_index(struct index_state *istate, int newfd)でindexの書き込みをしている。書かれているのは #define CACHE_SIGNATURE 0x44495243 /* "DIRC" */ struct cache_header { unsigned int hdr_signature; unsigned int hdr_version; unsigned int hdr_entries; };と struct cache_entry { st
久々 git のセットアップをすることになり、自分で書いた記事を参考にする。 » せっかちな人のための git 入門 - git をインストールし、共同で開発できる環境を整えるまで : 僕は発展途上技術者 いつのまにかはてなスターがたくさんつき、ブックマーク数も400を超えていた。さすがはてなユーザー。「git なにそれ?」というのが一般ユーザーはもちろん、多くのプログラマー(ブログ書いたり読んだり twitter 使ってたりすると僕らweb系、オープン系が多数派だと勘違いしてしまいそうになるが、決してそうではないのですよね)の反応だと思うのだが。。。 さて、上記記事では触れていない、共有レポジトリの作成方法を書き留めておきます。 まず準備としてリポジトリを使うことになる複数ユーザーを同一グループに所属させます。 太郎くん、次郎くんのアカウントを作成。 % sudo useradd tar
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く