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
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
Ignoring files with Git is typically straightforward. However, there are times when you may need to temporarily hide changes in a file, such as during a development session. Thanks to some inventive manual tinkering by Eelco Wiersma, there’s a simple workaround for this. His primary issue stemmed from using git commit -a, which automatically adds modified files to the commit object. While convenie
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く