0

Today I tried a bit with github and uploading. I did a test upload to git which did work. Now, when I start a new project I see everywhere an U after my file. How do I get rid off all the U's without deleting the files?

All my code is in the following folder: C:\Code The code folder I uploaded to github was: C:\Code\adobe

Link to the image

UPDATED

By using the following command I removed all the Untracked files: rm -rf .git

Cœur
  • 37,241
  • 25
  • 195
  • 267
aftershock
  • 69
  • 13
  • 1
    you should probably go through the basic git training somewhere like https://www.codecademy.com/learn/learn-git. – DrCord Aug 22 '18 at 17:41

2 Answers2

1

To get those files to not show the U (meaning Untracked) after them you either need to add them to the tracked files in the git repo by adding and committing them or add them to the ignored files in the .gitignore file

DrCord
  • 3,917
  • 3
  • 34
  • 47
  • @waddupxnxxx, take a look at this article: https://www.atlassian.com/git/tutorials/saving-changes/gitignore –  Aug 22 '18 at 17:45
  • 1
    Like I said I recommend going through a bit of git training, codeacademy is a decent place to start: https://www.codecademy.com/learn/learn-git. Also, the above link about .`gitignore` files is a great start for your reading/learning :D – DrCord Aug 22 '18 at 17:46
  • I will! Ive edited my question. but do i need to add everywhere a gitignore file? @DrCord – aftershock Aug 22 '18 at 17:52
  • typically in simple implementations a single `.gitignore` file is added at the root of your project. – DrCord Aug 22 '18 at 18:31
0

By using the following command, I removed all the Untracked files: rm -rf .git

aftershock
  • 69
  • 13