我有一个在 git 下的本地文件夹,当我在不同的 IDES 中玩一些 git 的东西时,它被添加到了 git 但我不希望它受 git 控制,我只是希望它是一个正常的文件夹暂时!直到我决定稍后将其添加到某个 repo 中。
我是 git 新手,所以不太了解命令,但如果我运行git status
命令,这就是我得到的:
git status
# On branch master
#
# Initial commit
#
# Changes to be committed:
# (use "git rm --cached <file>..." to unstage)
#
# new file: .idea/vcs.xml
# new file: .idea/workspace.xml
#
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: .idea/workspace.xml
#
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# .idea/.name
# .idea/.rakeTasks
# .idea/HisFirstService.iml
# .idea/dictionaries/
# .idea/encodings.xml
# .idea/misc.xml
# .idea/modules.xml
# .idea/scopes/
# Gemfile
# Gemfile.lock
# README
# Rakefile
# client.rb
# config/
# db/
# models/
# service.rb
# spec/