Hi AD

What commands are you using? 

In particular what what is your default push style. You may not actually be 
pushing the branch/commit you expect. There was a change not that long ago that 
reduced the number of branches being pushed (by default) e.g. 'simple' vs 
'matching' / current / upstream etc.

Also, have to confirmned that you have actually added and comitted those files 
locally (and have a sha1 for the commit).

You should then be able to check that the server actually has that commit sha1.

Philip
  ----- Original Message ----- 
  From: AD S 
  To: Git for human beings 
  Sent: Wednesday, January 04, 2017 1:23 AM
  Subject: [git-users] Other than gitignore, what could be causing a file to 
not be pushed to remote repo?


  I was working on updating a couple of .css and a .html file and pushed them 
to my remote repo. The .css files appear to have transitioned fine, but not the 
updates to my .html file.


  I looked in gitignore and saw that there was nothing affecting this .html 
file. It should push. If I change something on the file and run `git status` it 
picks it up fine too.


  When I push to the remote repo everything runs smoothly. No errors.


  Would anyone know why this file could be refusing to be pushed?

  -- 
  You received this message because you are subscribed to the Google Groups 
"Git for human beings" group.
  To unsubscribe from this group and stop receiving emails from it, send an 
email to git-users+unsubscr...@googlegroups.com.
  For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to