bookmate game
en
Scott Chacon,Ben Straub

Pro Git

Повідомити про появу
Щоб читати цю книжку, завантажте файл EPUB або FB2 на Букмейт. Як завантажити книжку?
  • Tinaцитує4 роки тому
    So instead of the result we see in You merge in the same work again into a new merge commit, we would end up with something more like Rebase on top of force-pushed rebase work..
  • Tinaцитує4 роки тому
    Do not rebase commits that exist outside your repository and people may have based work on them.
  • Tinaцитує4 роки тому
    Now, the snapshot pointed to by C4' is exactly the same as the one that was pointed to by C5 in the merge example. There is no difference in the end product of the integration, but rebasing makes for a cleaner history. If you examine the log of a rebased branch, it looks like a linear history: it appears that all the work happened in series, even when it originally happened in parallel.
  • Tinaцитує4 роки тому
    Generally it’s better to simply use the fetch and merge commands explicitly as the magic of git pull can often be confusing.
  • Tinaцитує4 роки тому
    In “detached HEAD” state, if you make changes and then create a commit, the tag will stay the same, but your new commit won’t belong to any branch and will be unreachable, except by the exact commit hash. Thus, if you need to make changes — say you’re fixing a bug on an older version, for instance — you will generally want to create a branch:

    $ git checkout -b version2 v2.0.0
    Switched to a new branch 'version2'
  • Tinaцитує4 роки тому
    The word “remote” does not necessarily imply that the repository is somewhere else on the network or Internet, only that it is elsewhere. Working with such a remote repository would still involve all the standard pushing, pulling and fetching operations as with any other remote.
  • hmz1453цитує5 років тому
    git log --since=2.weeks
  • hmz1453цитує5 років тому
    git log --pretty=oneline
  • hmz1453цитує5 років тому
    git log --stat
  • hmz1453цитує5 років тому
    When you run git log in this project, you should get output that looks something like this:
fb2epub
Перетягніть файли сюди, не більш ніж 5 за один раз