Я добавил пару новых файлов и добавил в ГОЛОВУ. Эти 2 файла не требуются, и я хотел бы удалить их полностью.
git status
показывает следующее
Your branch is ahead of 'origin/adurai/istio-config' by 1 commit.
(use "git push" to publish your local commits)
Untracked files:
(use "git add <file>..." to include in what will be committed)
.idea/
nothing added to commit but untracked files present (use "git add" to track)
Ниже выводится git show --stat --oneline HEAD
-
Выходные данные
bf3b6dc (HEAD -> adurai/config) Add base istio configurations
terraform/platform/istio/common/istio-config/a.yaml | 13 +++++++++++++
terraform/platform/istio/common/istio-config/b.yaml | 36 ++++++++++++++++++++++++++++++++++++
terraform/platform/istio/common/istio-config/templates/gateway.yaml | 4 ++--
terraform/platform/istio/common/istio-uninstall.sh | 2 +-
4 files changed, 52 insertions(+), 3 deletions(-)
Файлы a.yaml и b.yaml не должны передаваться. Это новые файлы. Как мне их удалить?
Я уже пробовал git reset HEAD ./terraform/platform/istio/common/istio-config/a.yaml
, но без помощи.
Любая помощь?