I have setup GIT on AIX 6.1 and am facing problems.
The sequence of steps I followed are as shown:
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.
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 contentsSo 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