Answer the question
In order to leave comments, you need to log in
How to create a new branch and work with it?
Such a question:
I create a new branch: git checkout -b remastered (thus I switched to it) I
add files: git add .
Commic: git commit -m "New files"
I get this:
On branch remastered
nothing to commit, working tree clean
In addition, please tell me how to create a new branch, add files to it and upload to the repository.
I will be very grateful in advance.
Answer the question
In order to leave comments, you need to log in
git checkout -b remastered
So they create a new branch and immediately go to it
git add .
that's right, you add changed files to tracking
git
commit
-m
"
New files "
Check for indexed files via
git status
Your error says that there are no files in the commit
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question