T
T
terrasan322018-02-12 15:01:09
git
terrasan32, 2018-02-12 15:01:09

Why are commits not being added to the repository?

There is a repository. Everything worked fine until I created several files directly in the repository itself, namely pom.xml (children) and checkstyle.xml (in the root of the project) for building in travis ci . They didn't exist before. The repository has such a button - create new file . So after that, I stopped adding other commits. What could be the reason? 5a8181b122151071608313.pngRed crosses - indicate that travis fell with an error.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
aol-nnov, 2018-02-12
@aol-nnov

documentation here: https://git-scm.com/book/en/v2

T
Thymomenos Gata, 2018-02-12
@prumin

in theory, your repositories on the PC do not match and on the github,
write in the terminal / command line in the project directory:
then all the files that do not match your repository on the PC will either be redone (if you changed something directly in the github to direct), or downloaded from github (in your case) to PC
and then you can push everything you need to git just like before

D
Denis, 2018-02-13
@D3Nd3R

1. commit all the changes in the local repo
2. git pull (solve problems with the merge) 3. you can send your local commits to the
remote
repo

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question