I'll collect some random git tips here, in case I forget how to do something.

  • Revert a file in your working copy to what it is on the current branch; undo changes for this file:
    git checkout filename
    (Git checkout is also used to switch branches; if there is a branch with the same name as filename, you must use git checkout -- filename)

-- JasonDhiaMansour - 2015-11-17
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2015-11-25 - JasonDhiaMansour
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Sandbox All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback