git commit -m与git commit -am [英] git commit -m vs. git commit -am
本文介绍了git commit -m与git commit -am的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
似乎很简单,但我不明白.我是我应用程序的根源.
Seems easy but I just don't get it. I am in the root of my application.
这是我的工作流程.
git add .
git commit -m "added a new feature some files changed"
git push heroku master
这通常有效.我所有的更改都已推送.
This usually works. All my changes are pushed.
但是有时候我有一个要更改的文件,但是当我将其推送到Heroku时,那个文件没有更改...但是对于大多数文件,更改都存在...
But sometimes I have a file that I change but when I push to Heroku the changes are not there for THAT ONE FILE... but for most of the files the changes are there...
但如果我这样做
git add .
git commit -am "added a new feature some files changed"
git push heroku master
所有内容(所有更改)都推送到Heroku
Everything (all changes) are pushed to Heroku
推荐答案
查看全文