Fork is getting better and better day after day and we are happy to share our results with you.
Fork is getting better and better day after day and we are happy to share our results with you.
最近某OSSに出されたPRが、git merge --squash <branch> でマージされたことにより、コミットのAuthorが書き換えられてしまったことが一部界隈で話題になっていました。この件にはマージを行った人に悪意はなかったようなのですが、gitの理解不足により生じてしまった案件だとすると悲しい話なので一応メモ 何が起きたか コミッターが複数の内容が含まれたPRを送った 管理者はその中の一部の内容だけをマージするために、管理者はgit merge --squashを実施し、コミットを改変した上でmergeを実施した ←これが問題 コードの内容はコミッターのものなのに、Authorだけ管理者にすげ変わってしまいコミッターのモチベを損ねた そもそもsquashするとどうなるの ここに分かりやすくまとまっています。 アジャイルSEを目指すブログ 図で分かるgit-mergeの--f
これを適当なパスの通ったところに置いて実行権限付ければ git stats で実行出来る 実行するのに Ruby が入っている必要がある 出力はこんな感じ $ git stats This week 3658 insertions(+), 1333 deletions(-) Today 1345 insertions(+), 652 deletions(-) Yesterday 255 insertions(+), 217 deletions(-) 2 days ago 693 insertions(+), 31 deletions(-) 3 days ago 402 insertions(+), 141 deletions(-) 4 days ago 0 insertions(+), 0 deletions(-) 5 days ago 0 insertions(+), 0 deletio
ungitはnode.jsで動くグラフィカルなgitクライアントです Learn Git Branchingみたいな直感的なGUIで操作できるので とても分かりやすいです インストール 今回はnvmを使用してnode.jsを入れます $ git clone git://github.com/creationix/nvm.git ~/.nvm $ source ~/.nvm/nvm.sh $ nvm install v0.10.22 $ npm install -g ungit $ nvm use v0.10.22 ログイン時も有効にしたい場合は.bashrcに以下のように書いておきます if [ -d $HOME/.nvm/ ] then source ~/.nvm/nvm.sh nvm use v0.10.22 > /dev/null fi 起動 以下のコマンドで
Git 初心者〜中級者に向けて、目立たないけど便利なコマンドを紹介します。
GitHub Enterpriseで特定のリポジトリでエラーページが表示が出てるのを修正対応したんですが、書いておかないと忘れる自信があったのでblogged. 状況について 手元にgit cloneしていたリポジトリをpullしようとすると下記のような感じで怒られてました。 % git pull error: unable to find 60c4f95fb89859e54f5fd2de864393a60fc81a08 error: refs/heads/master does not point to a valid object! error: refs/pull/1983/merge does not point to a valid object! Your configuration specifies to rebase against the ref 'master' fr
A free Git client for Windows and Mac Sourcetree simplifies how you interact with your Git repositories so you can focus on coding. Visualize and manage your repositories through Sourcetree's simple Git GUI. Simple for beginners Say goodbye to the command line - simplify distributed version control with a Git client and quickly bring everyone up to speed. Powerful for experts Perfect for making ad
A interactive Git visualization tool to educate and challenge!
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く