Interactive UI Ensures you are publishing from your release branch (main and master by default) Ensures the working directory is clean and that there are no unpulled changes Reinstalls dependencies to ensure your project works with the latest dependency tree Ensures your Node.js and npm versions are supported by the project and its dependencies Runs the tests Bumps the version in package.json and
チームで作業する同じリポジトリの中で Pull Request を送り合うのではなく、オープンソースプロジェクトに外部から PR がやってくる場合の話です。 最近のフロー 送られてきた PR に対しては、大まかには仕様の話、実装方針の話、具体的な実装の話を詰めながらマージできるように持っていくわけだけれど、それがほとんど満足いく状態になっていてマージしたいと思うタイミングになっても、変数の名前付けだとか、ちょっとした処理の書き方だとかで、相手にお願いするよりは自分で手を加えてからマージした方が手っ取り早いことがある。そういう時は PR 元のブランチを手元にチェックアウトして、そのブランチを自分の変更で進めた上で master にマージするようにすると、push 時に PR も閉じられて便利です。 motemen/lgtm.sh#1 の例。分かりにくいれど、PR にさらに 1 コミット足して
About git-wip manage Work In Progress Pull Request branches. How to install npm install -g gitwip How to use git wip git wip -m "WIP" --fb feature-func equals to below commands git checkout -b feature-func git commit --allow-empty -m "WIP" Help % git-wip --help Usage: git wip [options] Options: -m, --message commit message [default: "wip"] --fb, --feature-branch feature function branch name [defau
☝ この部分です。新しいリポジトリを作ったとき、ここの空欄が主張してきてちょっと気になりますよね。かといってブラウザでいちいち入力するのもだるい。エディタで書きたい。 ところで .git/description ってファイルを見たことありますか? ものの本には the description file is only used by the GitWeb program, so don’t worry about those. Git - Plumbing and Porcelain とあります。中身はこんなの。 % cat .git/description Unnamed repository; edit this file 'description' to name the repository. ずっとこの内容のまま更新されることもないだろうファイルです。なのでこいつを GitHub
Usage: github-changes [options] Options: -o, --owner (required) owner of the Github repository -r, --repository (required) name of the Github repository -d, --data (DEPRECATED) use pull requests or commits (choices: pulls, commits) [commits] -b, --branch name of the default branch [master] -n, --tag-name tag name for upcoming release [upcoming] -a, --auth prompt to auth with Github - use this for
gitignore-boilerplates(長いので以後giboと呼びます)という便利なツールを紹介します。これは.gitignoreのひな形を作ってくれるものです。 https://github.com/simonwhitaker/gitignore-boilerplates もう少し詳しく説明すると、giboは様々なOS・エディタ・言語・フレームワークなどに特化したファイルの情報を利用して、複数環境を考慮した.gitignoreを作ってくれます。 .gitignoreに入れたいファイルは環境ごとに変わってくるわけですが、各人がcommitしたくないファイルの存在に気づくたびにチマチマ.gitignoreに追記していくのって本当に無駄だと思うんですよね。giboはそれを自動化してくれるというわけです。 例えば、WindowsとMacOSXの2環境、Emacsとvimの2エディタを使う人
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く