Answer the question
In order to leave comments, you need to log in
GIT questions from a newbie?
Hello! Help me understand a few questions ... I do not understand why the folder is specified as untracked files?
Further...
1) When you write the git commit -m "Message" command, is it entered only in the local repository, or is it immediately thrown to the remote one, to github? I just don't know how to delete commits, so I'm asking before the experiment) Hence the second question....
2) How can I delete unnecessary commits from both the local and remote repository?
3) What files should be added to the repository in general? Let's say that I have files such as gulpfile.js, package.json Do I need to add them to a commit once, and add only those files that change to the next ones? Will these be automatically taken from the first commit?
PS And if you imagine a situation where local commits are made. Nothing remotely staged... look at the commits and remove a local commit of your choice, maybe?
Answer the question
In order to leave comments, you need to log in
No need to produce questions on the toaster.
Everything you ask can be learned from the documentation by reading the main chapters to the end.
https://git-scm.com/book/ru/v1
And try to work with GIT on a virtual simulator
https://try.github.io/levels/1/challenges/1
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question