0
0

git commitしたけど、git pushしていないファイルを抽出するコマンド

Last updated at Posted at 2023-09-27

コマンド

git diff @{u}.. --name-only

背景

husky使って、pre-push(push前) に、pushしたくないファイルがあったら、pushを阻止するようなアクションをしたかった時に探したコマンド

0
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0