Carlos Aguni

Highly motivated self-taught IT analyst. Always learning and ready to explore new skills. An eternal apprentice.


Study Git

15 Sep 2021 »
  • git ls-files
  • undoing unstaged changes
    • git clean -dn
    • git clean -df
  • undoing staged changes
    • git reset <filename>
    • git reset --soft HEAD~1
    • git reset HEAD~1
    • git reset --hard HEAD~1
  • deleting branches
    • git branch -D <branch>
  • stash
    • git stash
    • git stash push -m <message>
    • git stash pop <id>
    • git stash apply
    • git stash list
    • git stash drop <id>
    • git stash clear
  • git merge fast forward

  • git merge fast forward (default)
    • git merge <branch>
  • git merge non fast forward
    • git merge --squash <branch>
  • git merge non fast forward (recursive)
    • new commit describing Merge
    • git merge --no-ff <branch>
  • rebase
    • git rebase <branch>
  • merge conflict
  • git cherry-pick
    • git cherry-pick <commit>
  • ``
  • ``
  • ``
  • ``
  • ``
  • ``
  • ``
  • ``
  • ``
  • ``
  • ``
  • ``
  • ``