I have a bitbucket repository, with the following structure :
 Directory-A->
   directory a
   directory b
   file a
   file b
   file c
Now I want to move file "b" and file "c" to "directory a"
When I do it on local machine and commit this by git add. I get file b and file c in directory a but they still exists outside it.
                        
That is because you did a
git add .indirectory ainstead of agit add -A .inDirectory-A.First, you need to be in
Directory-A(the root one) when you do thegit add -A .(which is agit add -u+git add .) from the root folder:A '
git add -A .' inDirectory-Awill detect the deletion of those files inDirectory-Aand their addition indirectory a.See more at "Difference between “
git add -A” and “git add .”":