Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8325227
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T00:21:40+00:00 2026-06-09T00:21:40+00:00

I have just cloned a repository in my local computer. Then I’ve created inside

  • 0

I have just cloned a repository in my local computer. Then I’ve created inside the folder a new file. When i run ‘git st’ the new file does not appear, not even as an untracked file.

How can i list new files I created inside my project, to add them after?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T00:21:41+00:00Added an answer on June 9, 2026 at 12:21 am

    Normally, you should see the file unless

    • the folder holding the file is not yet added to the repo (in that case, you’ll see only the folder when typing git status)
    • the file is contained in a .gitignore present in the folder holding the file
    • the file is contained in .gitignore
    • the file is contained in .git/info/exclude
    • the file is contained in your global .gitignore file (check with
      git config --global core.excludesfile)

    To check whether your file is ignored by one of the ignore files, type

    git status --ignored
    

    This will also show ignored files.

    Solutions for the five cases:

    • when the folder is not yet versioned, add it with git add folder_name. This will add the folder and all of it’s files (unless they are ignored) to the index.
    • when the file is filtered by a .gitignore, modify that file so that your file to be added shows up when typing git status.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have just setup a new local site (localhost/pfb.net/) which has been cloned from
I have a local Git repository on my computer that I am trying to
I have created a local repository and cloned it to remote mercurial server .
I have a Git repository on my local machine that I cloned from my
I already have a local workig space repository in /applications/mamp/htdocs/myproject/.git and i can't figure
I have just created this table: create table dbo.OrderTypes ( ID smallint primary key
we have just started using a git account of our Django website project so
I have just installed composer in my /usr/bin folder, so when from that folder
I have just started learning python version 3 and trying to create a file
I'm new to git so please feel free to RTFM me... I have multiple

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.