how to find status of my code with regard to my app's git repo on heroku -



how to find status of my code with regard to my app's git repo on heroku -

i have created app on heroku , pushed code (after creating git repo git init). app folder contains requirements.txt in wrongfully set matplotlib before numpy. (actually numpy needed install matpplotlib , should come before it).

when pushed heroku master,the compilation failed error message 'numpy needed install matplotlib'. corrected order of items in requirements.txt , using git add, git commit etc committed it. tried force code 1 time again using git force heroku master. failed same error message

here requirements.txt

django==1.4.3 south==0.7.6 distribute==0.6.28 dj-database-url==0.2.1 django-registration==0.8 numpy==1.6.2 matplotlib==1.2.0 psycopg2==2.4.6 python-memcached==1.48 wsgiref==0.1.2 simplejson==3.0.7

then tried find status using

git status , produced

# on branch master # branch ahead of 'origin/master' 2 commits. # nil commit (working directory clean)

i used add together code github. think origin/master relates that. wrong?

how find status of commit on heroku? app has name git@heroku.com:myapp.git.

regarding status, have several options:

"git: check if pull needed": git remote -v update git status -uno "git equivalent of svn status -u": git fetch heroku git log --name-only ..heroku/master

check if origin point heroku or not:

git remote -v

in case, simple git push isn't enough

depending on default force policy, might want create sure branch has heroku/master upstream branch:

git force -u heroku master

git heroku status

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -