M
M
ma4t2019-03-05 13:11:28
git
ma4t, 2019-03-05 13:11:28

How to push individual files?

Hi. Making a page changed a lot of different files. Is it possible to push some files with a certain commit, and not touch the rest and work with them further? And then push them separately, what is left.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Pavel, 2019-03-06
@ma4t

Index the necessary files
Commit them
Push immediately if necessary
git add <required files>
git commit -m "commit name"
git push

G
GavriKos, 2019-03-05
@GavriKos

You are not pushing files, but commits. You can not commit files. But then you will rake with pull

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question