git commit --fixup というオプションの存在を最近知って調べた。 ヘルプとリリースノートより "git commit" learned the --fixup and --squash options to help later invocation of interactive rebase. Git v1.7.4 Release Notes --fixup=<commit> Construct a commit message for use with rebase --autosquash. The commit message will be the subject line from the specified commit with a prefix of "fixup! ". See git-rebase(1) for details. 1.7.4 から入って
超久しぶりに小粒なTIPSを. 使いどころも限られますが… javac の出力するメッセージを,英語 英文にしたい時のTIPS. Windowsでは,環境変数LANGを設定してもダメでした.次のようにします: javac -J-Duser.language=en -J の後に続けて JVMへ渡すオプションを書きます. Locale.getDefault()の返り値を指定するuser.language を指定してやれば,javacのメッセージのロケールも変わるという訳です. 一方.コマンドプロンプトで, en/jp 等でコードページを切り替えてもOK …かと思いきや,jdk1.5 からは普通に日本語メッセージを出力してくれやがります. だから↑の方法を使いましょう.
git 1.7.12 I want to mark all files below a given directory as assume-unchanged. git update-index --assume-unchanged dir/ gives "Ignoring path." git update-index --assume-unchanged dir/* quickly fails because it will encounter files which are not being tracked, hence it gives "fatal: Unable to mark file" and quits. Try generating a list of files to mark. cd into the desired directory and then run
一年くらい前から git を使い始め、ここ半年くらいは毎日の開発に git を使っています。昨日 git stash という機能を使っている時に失敗してしまい、何人かの方にアドバイスいただくことによって無事回復することが出来たので、感謝の印として、そして運悪く同じ問題に遭遇してしまった人たち(私もまたやるかも)へのメモとして記しておきます。 御託はいいから、早く回復法を知りたい人のためのまとめ $ git fsck | awk '/dangling commit/ {print $3}' 候補の sha1 がいくつか出てくる(長く開発していると、結構多く候補が出てきます) $ git show --summary 候補のsha1 一つ一つの sha1 の内容を確認 $ git cherry-pick -n -m1 見つけたsha1 いきさつ 私の作業のやりかたでは、 タスク毎にブランチを切
I'm using git-svn to work against my company's central Subversion repository. We've recently created a new feature branch in the central repo. How do I tell Git about it? When I run git branch -r I can only see the branches that existed when I ran fetch against the Subversion repo to initialize my Git repo?
In the middle of pulling down a (rather large) svn repo with git-svn, I encountered the following error message (generic info substituted for real info): Found possible branch point: svn://server/project/trunk/dir => svn://server/project/branches/branchname, <revision> Initializing parent: refs/remotes/branchname@<revision> project/trunk/dir/file was not found in commit <hash> (r<revision>) I have
There may be times when you want to edit some variables in for example a database connection file, to run an application right from within your GIT repo. Of course you don’t wont those changes to be commited, so you add the file the .gitignore. However adding tracked files to .gitignore won’t work because GIT will still track the changes and commit the file if you use the -a parameter. Fortunatel
git dtコマンド - razokulover publog を見て自分もgitのコマンドをカスタマイズしてるのを思い出したので普段よく使っているのを紹介します。 対象者 作業途中はtmpコミットをたくさん作って、最後に git rebase -i でコミットを整えている人 前置き gitのタイプ数を減らす gitコマンドを使う時に毎回 git と3文字タイプするのは時間の無駄なのでエイリアスつけるのをおすすめします ~/.bash_profile とか ~/.bashrc 辺りに下記を書きます。 alias g='git' これで g だけでgitコマンドが使えます git-now iwata/git-now tmp コミットのための独自サブコマンド git-now - アジャイルSEを目指すブログ 最速でtmpコミットするためのコマンド。Macなら brew install git-
Xcode 5 で見つけた「どうでもいい」機能と題して、STUDIO SHIN (@studioshin) さま主催の「第55回 Cocoa 勉強会関西」と @takayama さま主催の「yidev東京第二回」のそれぞれで、Xcode 5 の再入門をテーマに話をさせて頂きました。 普段の開発の中ではあまり気に留める機会はないけれど、でも知っておくと楽しくなるかもしれない機能を紹介しています。 それぞれの会で少し内容を変えて発表したので、このスライドでは両方の内容を併せてひとつにまとめてあります。Read less
SublimeText(2/3)のbuild systemを使えばいちいちコンパイルの面倒な様々なソースコードが簡単にコンパイルできます。標準で用意されてるいくつかのbuild設定に加え、PackageControlを利用したり自分で.sublime-buildファイル(json記述)を作ってやることでコマンドラインからビルドするようなことは大抵ショートカットが設定できます。 ビルドを設定し、ツール>Build Systemからそれを選択しておけばCtrl+B(Macの場合は⌘Command+B)するだけでビルド。 今回はWindowsでAltJS系やCSSのメタ言語(AltCSS)のコンパイルの一例をご紹介。尚Mac/Linuxでは少し異なる点があるのでご注意。 あと、npm/gemとかのbinにpathが通ってることは前提条件で話を進めます。(あとPackage Controlの有効化
Cheatography https://cheatography.com Download This Cheat Sheet (PDF) 16 CommentsRating: () Home > Software > Text Editor Cheat Sheets Sublime Text 2 Windows Keyboard Shortcuts by njovin Keyboard Shortcuts for Sublime Text 2 for Windows.Commas indicate to press one key, then another (Ctrl + K, 1 = Hold control, press K, then press 1).Slashes indicate options, Alt + Shift + 2/3/4 means hold Alt and
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く