GIT: working with commits. Oksana Boyarko

Git provides the flexibility to work with all the changes in our workspace. Commits help easily orient in our history and safely retrace in the event of different circumstances. In Git there are different commands that expand the work with commits - you can not only add commits to your branch, but also roll back as diff, and all commit from history. In addition, there is a great command cherry-pick - to pull a commit to your workspace from someone else's branch.

Git-reset is a magic wand-worm in case you need quickly roll back the commits or make the indexed files again unstaged. In addition, reset allows you to jump to any commit in the history of the git. Although the command is useful, but how to use it is not trivial. In addition, in the reset, it is more easy to understand the reference of the git and the revision order.


Social activity