-1
this msg appears in git when I try to send to github
0
I went to the github page where I held my repository and placed commands to import the files and origin and it went well to send the files ,and then I made the changes to the commit because it contained information from other commit I tried with this command: git commit --Amend -m "My new message
is the selected part I used to solve the problem.
-1
The terminal makes it clear, git hasn’t tracked any changes when comparing its repository to the remote repository. You can give a git status to make sure that the data were even modified. You can also give a git remote -v to see if git is pointing to the repository you’re committing. And to look something like this:
origin https://github.com/username/Repositorio_que_voce_esta_trabalhando.git (fetch)
origin https://github.com/username/Repositorio_que_voce_esta_trabalhando.git (push)
If something like this doesn’t appear, git probably doesn’t point to the repository you’re working on
in the case git was not giving any action ,so I had to manadr force the push and then commit the commit differently in case the status did not show the repository data nor log tb
Browser other questions tagged git github
You are not signed in. Login or sign up in order to post.
This problem happens when you haven’t made any modifications to files tracked by git. You can confirm this with
git status
. You have actually modified some file?– Rafael Tavares
actually the same phrase appears when I put git status
– Everton Costa Souza
and I want to add the commit file but I can’t
– Everton Costa Souza
But is this file inside the specified folder? If so, take a look at a file called
.gitignore
. Everything in it is ignored (he nay will add in thegit add
)– Rafael Tavares
this is the module I have put
– Everton Costa Souza
The briefcase
node_modules
is, by convention, ignored, as it can be very heavy and easily created (with all its contents) through the commandnpm install
. Here has an answer talking a little bit about this– Rafael Tavares
in my case appears this msg to qq git command that I do
– Everton Costa Souza