A
A
Akmal Kadirov2013-11-29 18:12:04
git
Akmal Kadirov, 2013-11-29 18:12:04

git ff vs no-ff

Which is better foast-foward or no-fast-foward?
It seems to me that it is better to use "no-fast-foward". But I read on the Internet that this is NOT a good form. Difficult to choose because I didn't have big project management in gith

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
LostInSpace, 2013-11-29
@LostInSpace

Hello
As far as I understand, FF will only work if target is a child of the current commit.
In this case, nothing is broken, just the pointer is moved forward. The logic is saved.
If you need to switch to a commit from another branch, then FF simply won't work.
To be honest, I have not yet come across situations where it would be necessary to specifically refuse fast-forward

V
Vitaly Musin, 2013-11-29
@vmpartner

Use --no-ff to see all files in a branch.
Source

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question