i have searched on site , found similar issues, although none of solutions working. list have tried here save time after giving more detail on issue.
my repository has folder inside it, containing english version of html files website developing. when try add changes made said files, not add on working directory commited.
names of folders goes:
site <- main directory repository initiaded ( git init done here)
en <- files can't put in commit located.
total path: site/en/filename.html
i have tried:
git add . git add * git add en/. git add en/ . git add en/* git add en/ * git add --all
i trying avoid using -force command practice. result of commands same exception of git add en/*, list. git status
command returns:
changes not staged commit: (use "git add <file>..." update committed) (use "git checkout -- <file>..." discard changes in working directory) (commit or discard untracked or modified content in submodules) modified: en (modified content)
while git add en/*
returns when command entered:
fatal: pathspec 'en/about.html' in submodule 'en'
something wrong , can't figure out what. file on css folder added correctly working directory , commited intended. same goes other folders inside repository, changes added correctly. issue seems /en folder. ideas?
ps: if relevant: using ubuntu 15.10 , remote repository located on bitbucket.
Comments
Post a Comment