Last active
          September 10, 2025 06:48 
        
      - 
      
 - 
        
Save giuliohome/ecef3e6e69736feeb0d6fc7eda7b5d56 to your computer and use it in GitHub Desktop.  
    Useful git commands
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | # interrupt a merge, e.g. because you want to switch the order of your commit <--> pull commands | |
| git merge --abort | |
| # undo the last commit | |
| git reset --soft HEAD~ | |
| # check the commit history | |
| git log | |
| # save the password | |
| git config --global credential.helper store | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment