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

  • Home
  • SEARCH
  • 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 9129621
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T07:47:31+00:00 2026-06-17T07:47:31+00:00

I have setup GIT on AIX 6.1 and am facing problems. The sequence of

  • 0

I have setup GIT on AIX 6.1 and am facing problems.

The sequence of steps I followed are as shown:

  1. I create a folder.
  2. Go into the folder and initialise the non-bare repository
  3. Initialise the username and user email
  4. Create a file named index.html with some data in the file.
  5. Create a subfolder named newfolder
  6. Go into the newly created folder.
  7. Create a new file named index-2.html with some data in it.

After performing all the steps above and give the git status command I’m getting the foll result:

# On branch master
#
# Initial commit
#
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
#       ../index.html
#       ./

I understand that index.html in the above directory is getting displayed but why doesent index-2.html not getting displayed which is in the current directory.

The file index-2.html should also get tracked right.

  • 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-17T07:47:32+00:00Added an answer on June 17, 2026 at 7:47 am

    The output shows two things that are currently untracked:

    • ../index.html – the index.html file in the parent folder
    • ./ – the current folder, including all its contents

    So it does detect that you have an untracked file, but because it does know nothing about its folder as well, it just shows the folder to accumulate all its content.

    If you add your files and make Git track them, they will show up correctly:

    git add index-2.html
    git add ../index.html
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have setup a git repository in a linux server, and installed the latest
I am not using github. We have git setup on our machine. I created
I have been trying to setup git for our web development team unsuccessfully. Some
We are trying to setup an automated deployment environemt with Git/Github. We have 3
I have followed the instructions here: http://help.github.com/win-set-up-git/ to set up git on my windows
I currently have Git setup with a central bare repository which is accessed by
I have setup my local branch to track remote branch. when I do git
I'm trying to setup git instaweb to open in Chrome. I have set the
I have a large number of projects setup in Git that were previously managed
I'm having problems getting hudson to checkout my git repo and merge into master.

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.