Na ovoj stranici

Pripremi promjene

Stavite svoje promjene u scenu da biste ih zaključili, kako biste ih mogli gurnuti na udaljeni spremište ili poslati na Gerrit na pregled.

Označi trenutnu datoteku

Da biste označili novu ili izmijenjenu datoteku za commit u spremište, pripremite datoteku na jedan od sljedećih načina:

  • Idite na Tools > Git > Current File i odaberite Stage <file> for Commit.
  • Desnom tipkom miša kliknite datoteku u Projektima ili Datotečnom sustavu i odaberite Git > Stage.
  • Idite na Tools > Git > Local Repository > Commit, kliknite desnom tipkom miša na datoteku u Files i odaberite Stage.

Povratak trenutne datoteke

Da biste uklonili trenutnu datoteku iz spremljenih promjena, vratite datoteku u jedan od sljedećih načina:

  • Idite na Tools > Git > Current File i odaberite Unstage <file> from Commit.
  • Desnom tipkom miša kliknite datoteku u Projektima ili Datotečnom sustavu i odaberite Git > Unstage.
  • Idite na Tools > Git > Local Repository > Commit, kliknite desnom tipkom miša na datoteku u Files i odaberite Unstage.

Postavite blokove ili retke

Promjene možete pripremiti za commit komad po komad ili redak po redak u prikazu Git Diff.

Vidi također Kako: Korištenje Gita i Korištenje Gita.

Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.