Add in bitbucket all my files modified by command line

0

I have a solution with several projects. I made the necessary changes and now I need to upload to git (bitbucket). By Visual Studio 2017 is not going, I think my machine is bugged. So I'm wanting to do this from the command line. I have this folder structure:

  

C: \ Project \ Sales

The above path I added in git this way:

  

C: \ Project \ Sales > git init

Well, inside the Sales folder I have my solution SaleSite and the appropriate folders and projects. I made several changes. Now I need to upload all this to the Repository. Reading, I understood that the add command is for a file, so I would have to upload it one by one, or did I get it wrong? Now I ask: How do I get the whole project up?

master and the branch I created called * ChangeValueSales . I checked out this branch like this:

  

C: \ Project \ Sale> git checkout AlteraValorSales

What command do I give to upload the entire project? Doing so I could not

  

C: \ Project \ Sales > git add.

and then git commit , did not go up.

    
asked by anonymous 21.03.2018 / 23:51

1 answer

0

You changed to the AlteraValorVenda branch, made the changes, then used git add . (this command accepts wildcards and even more than one file per line) and then git commit , correct? Have you used git push to send changes from your local repository to the remote?

Another thing, use git log --oneline --decorate --all --graph to make sure your commit has been properly saved (it should be in the list) as well as check the status of your remote (red) and local ( in green).

    
22.03.2018 / 13:20