4337 links
  • Arnaud's links
  • Home
  • Login
  • RSS Feed
  • ATOM Feed
  • Tag cloud
  • Picture wall
  • Daily
Links per page: 20 50 100
page 1 / 1
3 results tagged revert x
  • Note: "revert" à la main pour revenir a l'état d'un commit dans le passé

    git reset --hard past_commit
    git reset current_commit
    git commit

    June 9, 2020 at 2:04:13 PM GMT+2 - permalink - archive.org - https://links.infomee.fr/?gfxj6Q
    git revert
  • git - How to revert a merge commit that's already pushed to remote branch? - Stack Overflow

    The -m option specifies the parent number. This is because a merge commit has more than one parent, and Git does not know automatically which parent was the mainline, and which parent was the branch you want to un-merge.

    When you view a merge commit in the output of git log, you will see its parents listed on the line that begins with Merge:

    commit 8f937c683929b08379097828c8a04350b9b8e183
    Merge: 8989ee0 7c6b236
    Author: Ben James ben@example.com
    Date: Wed Aug 17 22:49:41 2011 +0100

    Merge branch 'gh-pages'

    Conflicts:
    README

    In this situation, git revert 8f937c6 -m 1 will get you the tree as it was in 8989ee0, and git revert -m 2 will reinstate the tree as it was in 7c6b236.

    November 10, 2016 at 2:00:22 PM GMT+1 - permalink - archive.org - http://stackoverflow.com/questions/7099833/how-to-revert-a-merge-commit-thats-already-pushed-to-remote-branch
    git revert
  • Git : annuler proprement un commit après un push

    via Doo

    October 7, 2015 at 5:17:11 PM GMT+2 - permalink - archive.org - http://blog.mathieu-leplatre.info/git-annuler-proprement-un-commit-apres-un-push-fr.html
    git push revert
Links per page: 20 50 100
page 1 / 1
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Help/documentation