Skip to main content

SourceTree UI ↔ Git Εντολή

Cheat sheet: τι κουμπί πατάς και τι εντολή τρέχει από κάτω.

Κουμπί/Ενέργεια στο SourceTreeΠραγματική Git εντολή
Pullgit pull
Pushgit push origin <branch>
Fetchgit fetch
Commitgit commit -m "..." (μετά από git add)
Checkbox στο stagedgit add <file>
Branch (νέο)git checkout -b <name>
Διπλό κλικ σε branchgit checkout <branch>
Mergegit merge <branch>
Rebasegit rebase <branch>
Stashgit stash
Stash Popgit stash pop
Taggit tag <name>
Δεξί κλικ commit → Resetgit reset --soft/mixed/hard <commit>
Δεξί κλικ commit → Revertgit revert <commit>
Discard σε αρχείοgit checkout -- <file>
danger

Το Discard σβήνει τις τοπικές σου αλλαγές και δεν αναστρέφεται.