I'm in trouble because I can't do the same thing.
I have come to Chapter 3 of rails, do git init, do git add -A
I'll try the command with gir push -m orijin master,
All of the following errors appear:
I have no idea what is wrong and I am in trouble.
If i have any details, please tell me how to succeed
Thank you very much. Thank you.
$git add -A warning: LF will be replaced by CRLF in .gitignore. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in Gemfile. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in Gemfile.lock. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in README.md. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in Rakefile. The file will have its original line endings in your working directory warning: LF will be replaced by CRLF in app/assets/config/manifest.js.
It continues for a while. . .
On branch master
Changes not staged for commit:
(use "git add/rm
(use "git restore
(use "git add
no changes added to commit (use "git add" and/or "git commit -a")
$git push origin master
Repository satoshi_toto/sample1_app not found
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Please describe what you tried for the problem here.Supplemental information (FW/tool version etc.)
Please provide more information here.
Answer # 1
Clone the remote repository and add various things to the working directory.
How about add, commit, push?
Answer # 2
Create new from rails new, cd to local directory, git init->add -A->commit, then push->commit- After doing m, edit various things, then remote and create a repository in Bitbucket, the rails folder was successfully uploaded. \ (^ o ^)/
Thank you for your comments and advice.
Thank you very much.
It seemed that the order was wrong and I finally noticed it.
I'm really thankful to you. m (_) m
Answer # 3
The error message (?) that you provide is not an error but a warning message.
You should have a commit.
Answer # 4
What is the PATH of the directory where git init and git add -A were done?
What is the rails directory PATH?
Isn't it wrong to git init the directory? I feel that it will.
That ’s correct,
cd to the rails directory and git init, git add there.
Isn't git init in the rails directory (up one)?
- ruby on rails - i want to display all the images in the [rails] directory in the browser!
- ruby on rails - i want to clone from bitbucket to aws cloud9
- ruby on rails - rename rails directory (folder name)
- ruby on rails - i want to pass a systemspec that deletes a user
- ruby - i want rails controller @user = userwhere (logged user's date of birth + -3 years)
- ruby on rails - how to manage good images with git in rails projects
- ruby - [rails] i want to save only check items in the db
- how to send data of ruby on rails array
- ruby on rails - editing is not reflected locally in docker
- ruby on rails 5 - parameters when deleting children using accepts_nested_attributes_for
- ruby on rails - how to test jquery's automatic scrolling (scrolltop) using rspec/capybara
- ruby on rails - i don't know the password for ec2-user
- ruby on rails 5 - the asset "noimagepng" is not present in the asset pipeline in ruby on rails
- ruby on rails - rails tutorial about git config settings
- ruby on rails - i want to resolve nameerror in micropostscontroller # search
- unix - error when creating rails directory
- ruby on rails 5 form_for not displayed
- ruby - [rails] i want to register data to multiple models with one form_with
- ruby - (fixed) after deploying, i can't open the rails app in production
- i get the error "chmod on/mnt/code " when rails new [ubuntu, ruby on rails 52]
- ruby - deployment error on heroku
- code for installing ruby
- html - i want to display the view, but i get an error screen
- html - i want to edit and update from the edit screen
- ruby - i want to save the prototype and move the page
- [ruby on rails] how to write when getting a model nested in multiple stages with includes
- ruby - cannot save to database
- ruby - i want to display the name of the poster
- ruby - the poster's name is not displayed in showhtmlerb
- ruby - validation error when saving intermediate table