git config --global user.name "Hanako Yamada" git config --global user.email "username@example.com"
OctopressとGitHubホスティングで無料でブログを作る手順です。また、ソース情報はBitbucketで管理します。このスタイルのメリットは次の2つです。 * GitHubドメインはSEOでも優遇されている(気がするw) * 自分の好きなエディタとGitコマンドだけで運用できる * git管理なのでチームでブログを運用しやすい(と思う) ということで、「なう」で「やんぐ」なギーク・ブログにレッツ・トライ! (12-30 18:05) 最新版に合わせて全面改訂! 🍄 目次OctopressをGitHubにホスティング、Bitbucketを使ったソースコード管理までを構築する手順の目次は次のとおりです。 (1) GitHubでのリポジトリ作成 (2) Octopressのソース取得 (3) GitHubへのdeploy設定 (4) Octopressのブログ初期設定 (5) Bitb
Vincent Driessenさんの "A successful Git branching model" を翻訳しました。 元記事はこちら: http://nvie.com/posts/a-successful-git-branching-model/ (翻訳の公開と画像の利用は本人より許諾済みです) このブランチモデルの導入を補助してくれる、git-flowというGit用プラグインがあるそうです。 翻訳の間違い等があれば遠慮なくご指摘ください。 A successful Git branching model この記事では、私のいくつかのプロジェクト(仕事でもプライベートでも)で約一年ほど導入して、とてもうまくいくことがわかった開発モデルを紹介する。しばらく前からこれについて書くつもりだったんだが、今まですっかりその時間を見つけられずにいた。ここでは私のプロジェクトの詳細については書
どうも熊谷です [▓▓]=͟͟͞͞=͟͟͞͞ εː) みなさんはWeb業務を行う上で、間違って上書きしたり、ファイルをロストしたり…そんなことありませんか? 今回はバージョン管理システムであるGitをDropboxを利用してリポジトリ作成をご紹介してみたいと思います。 そもそもGit(ギット)とは? Gitは昔からあるバージョン管理システム(version control system, VCS)の一種であり、プロジェクトの改訂履歴を管理し保存する。 プログラムのコードに利用されることが圧倒的に多いが、WordのドキュメントでもFinal Cutのプロジェクトでも、どんなタイプのファイルでも管理できる。 とにかく、コンピュータのプログラムにかぎらず、どんなドキュメントでも、すべての段階の草案やアップデート履歴を保存し管理できるファイルシステムの事です。 (1)DropBoxとGitと行う為
まずは、Dropbox上にリポジトリ置き場を作ります。今回は git-repos という名前のディレクトリ内にまとめておくことに。 cd ~/Dropbox mkdir git-repos git-repos ディレクトリ内で myproject という名前のベアリポジトリを作ります。 cd git-repos git init --bare myproject.git ローカルの作業ディレクトリに移動し、さきほど作ったリポジトリを dropbox という名前でリモートリポジトリとして追加設定します。この名前は短めに db でも、origin でもなんでもOK。 git remote add dropbox ~/Dropbox/git-repos/myproject.git リモートリポジトリがちゃんと追加されたかどうかは以下のコマンドで確認! git remote -v dropbox
VCCWといえば、宮内さんが作った、Vagrantで超簡単にWordPress環境を作るやつですが、これを、git cloneして、Vagrantfile.sampleをリネームすれば、vagrant環境が立ち上がります。 で、これで作ったVagrantfileをgit管理したい訳ですが、そもそもリポジトリはGithubに存在していて、宮内さんのコミットログが山のように入っています。これにコミットしてもいろいろ面倒ですし、バージョンを上げようと言うときに困ったり。そんなときの対処法です。 VCCWとVagrantfileの場所を変更する。 実は、Vagrantfile.sampleと別の場所にVagrantfileを作れます。 https://github.com/miya0001/vccw/blob/master/Vagrantfile.sample#L42 ここのパスがデフォルトではv
アプリケーションを準備する 今回作成するのはJava Servletアプリケーションです。ServletコンテナにはHerokuの中の人が作成した「Webapp Runner」を使用します。 Webapp Runnerは内部的にTomcatを起動するだけのランチャーアプリケーションです。Heroku上で動作させることを前提として作成されており、SessionのMemcached(またはRedis)への置き換えが簡単に行えるようになっています。 素のTomcatをそのまま使用することもできるのですが、Heroku上でServletアプリケーションを動作させる場合、SessionのMemcached(またはRedis)への置き換えは絶対に必要なのでWebapp Runnerを使用することをお勧めします[1]。 [1] Session置き換えの具体的な方法と、それが必要な理由は今後の連載中で詳細
GitHub + Travis CI + Amazon S3 で git push で更新されるサイトをつくったので、その手順をメモ。 前提条件 GitHub のアカウントを持っている GitHub にリポジトリを持っている (例では bouzuya/bouzuya.net を使う) GitHub にリポジトリは Node.js のパッケージである (ルートにpackage.jsonがある) Travis CI のアカウントを持っている Travis CI の CLI をインストールしている (gem install travis) AWS のアカウントを持っている 概要 実現したい動きは次のとおり GitHub のリポジトリに git push origin master する Travis CI がリポジトリの更新を検知し Amazon S3 にデプロイ Amazon S3 にホストさ
2014年12月16日 便利ツール ファイルのバージョン管理&プロジェクト管理ができるuniversions。昨年のクローズドベータ版の頃に開発者さんに紹介していただき、かわいらしいデザインと使いやすさからずっと応援していたツールです。「デザイナー向けにGitなどを優しく解説する記事はありますが、どうしても構築の手間や敷居の高さがあるのではないか…」という開発者さんの思いがうまく反映され、使われている言葉もわかりやすく、スッキリとしたデザインになっています。どんな方でも安心して使いこなせるはず。先月ついに正式版がリリースされたので、簡単に紹介します! ↑私が10年以上利用している会計ソフト! エンジニアじゃなくても簡単に使える管理システム これまでのバージョン管理システムとは違い、黒い画面になにやら記述しなくても、クリックするだけでファイルの履歴管理ができます。間違えてファイルを上書き保存
※ 本スライドの内容を解説した、電子書籍を販売中です。 <a>http://p.booklog.jp/book/86773</a> 「Git(ギット)」や「バージョン管理」という言葉は聞いたことはあっても、なんだか難しそうなイメージを持っているかも知れません。 特に、プログラマーやエンジニアのツールであって、デザイナー・マークアップエンジニア・ディレクターの方は「自分には無縁」と思っているのではないでしょうか。 しかし、Gitはプロジェクトに関わるすべての方が使えると、コミュニケーションツールとしての役割も果たし、非常にスムーズにプロジェクトを進行させることができます。 このイベントでは「ノンプログラマの方」を対象に、Gitのよく使う部分だけをピックアップしてわかりやすく紹介、今日から使えるテクニックや便利なポイントを紹介していきます。Read less
Gitの勉強を兼ねて、Githubに公開しGithub pagesを作るまで。 Github GithubにはhhtpとSSHで接続する方法がありますが、 今回はSSHで接続しようと思います。 SSHでの接続設定 まず、公開鍵と秘密鍵を作る。 パスフレーズは忘れないように。 $ ssh-keygen -t rsa -C "[e-mail]" Generating public/private rsa key pair. Enter file in which to save the key (/c/Users/user/.ssh/id_rsa): [左に出ているパスで良ければEnter] Enter passphrase (empty for no passphrase):[パスフレーズ入力] Enter same passphrase again:[もう一度] Your identifi
誰でも知っていることだけど、LinuxというOSというかカーネルはLinus Torvaldsが学生のときに趣味で作ったのがはじまりだ。それは1991年ころの話で彼が21歳の頃だ。個人の趣味で作ったものが、いつの間にかに世界中のコンピュータだけでなく、携帯や家電や様々な機械の制御に使われている。 Linus Torvalds - Wikipedia 1994年ころには、PCで動く個人向けOSとしては十分な機能を持っていた。Xもあるし、gccなどのコンパイラもあるし、GNU Emacsやbashもあるので、ちょっとしたプログラムを作るには十分な機能を持っていた。 当時、勤め先のマシンはSunのワークステーションで仕事でLinuxを使う機会は全然なかったのだけど、自宅のPCにSlackwareのCDを入れてみたりした。日常的に使うことはなかったけど、1998年にOracleがLinux版を出し
こんにちは@a_suenamiと申します。 これはGit Advent Calendar 2012の17日目の記事になります。 前日はid:akiyokoさんのGitコマンド総選挙でした。 Gitの内部構造 みなさんはGitがどういう風にデータを管理しているか意識したことはありますか? コマンドの使い方に関するTipsはよく見かけるのですが、なかなかデータ構造に着目した解説は少ないのが実情かと思います。 そこで本日は僕が以前社内で行ったGit勉強会の話をもとにして、Gitの内部でどのようなデータがやりとりされているのかという話をしたいと思います。以下が以前僕が社内で勉強会をしたときの資料です。 http://www.slideshare.net/asuenami/git-15199548 タイトルの通り、非プログラマ向けの内容なのですが、PART2ではGitの内部構造を擬人化して説明すると
VersionPress is a free and open-source plugin that brings the full power of Git to WordPress. Its key strength is that it version-controls not just files but also the database. All changes tracked in GitVersionPress automatically creates Git commits for both file and database changes, in natural language. "Undo button for WordPress"Plugins break, people make mistakes; sometimes, you just want that
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く