当前位置:网站首页>Solve "nothing added to commit but untracked files present"“
Solve "nothing added to commit but untracked files present"“
2022-07-25 03:36:00 【Snow falling Xiaoxuan Han】
In execution git commit The error message displays The system cannot open the specified device or file , The document describing the project does not “add”, It has to be executed first git add file name , And then execute git commit -m “xxx”
The error is resolved as follows :
Put each file in sequence git add

Then proceed to the original git commit -m Command line
If you're not careful, add Redundant documents , You can undo
(1) If it is revoking, all have add The file of :git reset HEAD .
(2) If it is to undo a file or folder :git reset HEAD -filename
边栏推荐
- Task02 | EDA initial experience
- Force deduction brush question 26. Delete duplicates in the ordered array
- Flink1.15 source code reading - Flink annotations
- [Flink] transform operator filter
- Analysis of cascading relation operation examples of cascade
- It took me 2 years from Foxconn assembly line to Tencent software testing post~
- ES6 - study notes
- Fifth day of force deduction
- Fiddler grabs packets and displays err_ TUNNEL_ CONNECTION_ FAILED
- Common methods of array
猜你喜欢

A 20 yuan facial cleanser sold tens of thousands in seven days. How did they do it?

Network security - information hiding - use steganography to prevent sensitive data from being stolen

VMware installation

How to use two stacks to simulate the implementation of a queue

Swagger key configuration items
![Matplotlib tutorial (I) [getting to know Matplotlib first]](/img/dc/e7dfc435900c14e3e9be07f6ad75fe.png)
Matplotlib tutorial (I) [getting to know Matplotlib first]

The relationship between private domain traffic and fission marketing. What is super app? Can our enterprise own it?
![Easyexcel sets the style of the last row [which can be expanded to each row]](/img/25/8fb41f222cb3cca0119515d070b667.png)
Easyexcel sets the style of the last row [which can be expanded to each row]

Flink1.15 source code reading - Flink annotations

300. Longest increasing subsequence
随机推荐
Recursive and non recursive methods are used to realize the first order, middle order and second order traversal of binary tree respectively
Image processing based on hog feature
Moveit2 - 6. Planning scene monitor
Deep learning Titanic (beginner) kaggle Liu er's homework Lesson 8
ECMAScript new features
Common methods of array
Force the resumption of game 302 of the week
Day 10: BGP border gateway protocol
Many local and municipal supervision departments carried out cold drink sampling inspection, and Zhong Xue's high-quality products were all qualified
Question B: shunzi date
What is technical support| Daily anecdotes
300. Longest increasing subsequence
A. Subtle Substring Subtraction
Modulenotfounderror: no module named 'pyemd' solution
Openlayers ol ext: Transform object, rotate, stretch, zoom in
Function of each layer of data warehouse
Use of CCleaner
A code takes you to draw multi format sangjimei pictures such as interactive +pdf+png
04 -- two ways of writing el and data
Secondary vocational network security skills competition P100 dcore (light CMS system) SQL injection