bash - 如何将提交推送到现有仓库
问题描述
如何提交对现有仓库的更改?
$ git remote -v
github git@github.com:jhardik366/yelp-camp.git (fetch)
github git@github.com:jhardik366/yelp-camp.git (push)
heroku https://git.heroku.com/yelp-camp-19.git (fetch)
heroku https://git.heroku.com/yelp-camp-19.git (push)
origin git@github.com:jhardik366/c9.git (fetch)
origin git@github.com:jhardik366/c9.git (push)
如何推送到 yelp-camp git。?
我尝试了这些步骤:
git add abc.js
git commit -m "inital commit"
git push
它不工作。
解决方案
推荐阅读
- javascript - 反应下拉问题 - 如何立即停止所有更新动态创建的下拉列表
- typescript - TypeScript 单独声明和类实现,如使用 `.d.ts` 的 C++ 标头
- python - 如何在绘图的旭日图上设置颜色?
- python - 使用 lstm 预测并且只有一个答案
- scala - 如何在scala中获取Iterable内容的类类型?
- python - 格式错误的松弛后有效负载
- java - 如何在 JSON 中使用替换?
- r - 按他们的方式订购箱线图
- google-cloud-automl - AutoML Vision:错误:ImportData 由于错误太多而停止
- php - WooCommerce 将产品标题添加到免费样品订单、购物车、结帐