Aditya Mukerjee While working on Gitgo, an implementation of Git in pure Go, I encountered a puzzling issue. Gitgo tests its own dogfood, which means the tests for parsing objects use the git repository for Gitgo itself. This worked fine for a few days, until my pairing partner wanted to work on his computer instead of mine. I pushed the code to a remote repository so he could check it out, and we
Git は、元々 Linus Torvalds によって 2005 年に作られた、無料でオープンソースのバージョン管理システムです。他の SVN や CVS といった中央バージョン管理システムと違って、Git は分散型で、すべての開発者がローカル環境で彼らのコードのリポジトリの完全な履歴を持っています。これは、最初のリポジトリのクローン作成に時間がかかりますが、commit、blame、diff、merge、log といったこれに続く作業を劇的にスピードアップします。 Git は多くの革新的で強力なワークフローやツールにつながる、リポジトリ履歴のブランチ、マージ、および書き換えに非常に役立ちます。プル リクエストは、チームが Git ブランチでコラボレーションを行い、他のコードを効果的に見直すことができる、非常に人気のツールです。Git は現在世界で最も広く使用されているバージョン コント
Reimplementing “git clone” in Haskell from the bottom up Stefan Saasen - March 2013 - @stefansaasen Reimplementing “git clone” in Haskell from the bottom up Motivation Overview The clone process Git transport and pack wire protocol Transport protocol Reference Discovery Capabilities Packfile negotiation Packet line format Client - Server exchange Implementing ref discovery Implementing pack file n
git pushに対応することに特化したSSHサーバ Gitreceived を読んだところ、幾つかの知見が得られた。 git-shell Git付属のシェル git-shell がGitreceivedで利用されている。 git-shellはGitに関する作業しかできない制限付きのシェルである。 GitreceivedはSSH経由で入力された任意のコマンドを外部コマンドとして実行しようとするが、 このとき外部コマンドはgit-shellを利用して実行される。 つまり、任意のコマンドと言えどGitに関する作業しか実行できないように制限されている。 git push クライアントでgit push origin masterが実行されたとしよう。 このときGitは、サーバへのSSH接続を開始する send-pack プロセスを実行する。 サーバ側では、以下のようなSSHの呼出を介してコマンド
We’ll discuss our experience running a very large Git repository with the many projects and contributors, discuss the pros and cons of large repositories, introduce some enhancements we are testing to improve fetch performance through journaled replication, and cover some other optimizations we are pursuing.
Posted on April 8th, 2013. Inspired by Vim Koans. SilenceOne Thing WellOnly the GodsThe HobgoblinThe Long and Short of It Silence A Python programmer handed her ~/.gitconfig to Master Git. Among the many lines were the following: [alias] ; Explicit is better than implicit. If we want to merge ; we should do so ourselves. pull = pull --ff-only Master Git nodded. "git pull origin master," said the p
I want to get a list of all the branches in a Git repository with the "freshest" branches at the top, where the "freshest" branch is the one that's been committed to most recently (and is, therefore, more likely to be one I want to pay attention to). Is there a way I can use Git to either (a) sort the list of branches by latest commit, or (b) get a list of branches together with each one's last-co
gh-pages-deploy.md Deploying a subfolder to GitHub Pages Sometimes you want to have a subdirectory on the master branch be the root directory of a repository’s gh-pages branch. This is useful for things like sites developed with Yeoman, or if you have a Jekyll site contained in the master branch alongside the rest of your code. For the sake of this example, let’s pretend the subfolder containing y
Vincent Driessenさんの "A successful Git branching model" を翻訳しました。 元記事はこちら: http://nvie.com/posts/a-successful-git-branching-model/ (翻訳の公開と画像の利用は本人より許諾済みです) このブランチモデルの導入を補助してくれる、git-flowというGit用プラグインがあるそうです。 翻訳の間違い等があれば遠慮なくご指摘ください。 A successful Git branching model この記事では、私のいくつかのプロジェクト(仕事でもプライベートでも)で約一年ほど導入して、とてもうまくいくことがわかった開発モデルを紹介する。しばらく前からこれについて書くつもりだったんだが、今まですっかりその時間を見つけられずにいた。ここでは私のプロジェクトの詳細については書
ということで三分プログラミング. コピペとコピペとコピペにより大きくなってるので続きを読むからどうぞ. どういうもの? git submodule は他の git リポジトリを参照することにより, モジュール毎の管理を可能にします. 一方同じモジュールを利用する全てのリポジトリにリポジトリをコピーするのでディスク容量*1を圧迫します. そこで, サブモジュールは一箇所に置いておいてそのモジュールに依存するリポジトリのところにワーキングディレクトリのみを作成することで, ディスク使用量を軽減します. 要は git submodule の git clone が走るところに git new-workdir を仕込むだけの簡単なおしごとです. コピペしただけ……. しょぼいしごと……. つかいかた PATH の通ったところに git distribution に入ってる contrib/work
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
Usually ignoring files is quite simple with Git. However, you may need to quickly hide changes in a file, perhaps for an entire development session or other reasons. Luckily there’s a simple way around this, thanks to some clever manual diving from Eelco Wiersma. His main problem was using git commit -a, which automatically adds files that are modified into the commit object. This is a neat shortc
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く