I
I
IvanN7772015-11-16 13:54:17
git
IvanN777, 2015-11-16 13:54:17

I ran a git command, I'm afraid I did something terrible, can you see?

git pull origin letters_site
I wanted to download a branch from the repository, but the branch was not created, later I found out that the branch was downloaded differently git checkout -b <branch name> origin/<branch name>
What did I do?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
aol-nnov, 2015-11-16
@IvanN777

froze changes from origin, the letters_site branch to its working copy on the local branch, the name of which can be viewed via git status

A
abcd0x00, 2015-11-17
@abcd0x00

In order not to change anything, but just to watch new commits, you can get branches via git fetch. (git pull is git fetch + git merge)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question