Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 320
  • Last Modified:

Edit file

I am using git to edit an app in facebook through heroku in the terminal itself. here is the site below and i want to change the welcome line bit.
https://fierce-spring-7515.herokuapp.com/


After logging in i want to edit the index.php file and am trying to doso and enter

vim index.php

then qui to edit the file but how do i save it. It is not saving ...

Is there a way to use a known editor like notepad++ or editplus for this
0
Moizsaif123
Asked:
Moizsaif123
1 Solution
 
Justin_EdmandsCommented:
After you finish editing with vim, how are you quitting?
Hit Esc, then type ":wq" to write the file then quit.
0
 
Moizsaif123Author Commented:
yep that answered my question, points are yours. Just wanted to know if using a database within heroku git is possible...mssql if so...

iv used below to add database

heroku addons:add shared-database

another question, how do i get commands list or help using git
0

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now