Git Cheat Sheet

Find Useful Git commands in this Git Cheat Sheet.

  • Clone a project:
    git clone git_repo_url project_name
  • Switch to a branch locally:
    git checkout branch_name
  • Modify a file, then save and push it to remote repo in current branch
    git add path_to_file_modifeid/file_name
    git commit -m “Description of modification”
    git push
  • Get a new version of a file after modifying local version
    git checkout path_to_file_modified/file_modified
  • Get latest version of current branch
    git fetch
    git pull
    if you have local changes, you will be prompted to commit or stash them before pulling.
  • Create a new branch based on current branch and switch to it
    git checkout –b branch_name
  • Switch to master branch
    git checkout master
  • Merge branch_name to master
    git merge branch_name
  • Delete local branch
    git branch -d branch_name
  • Undo a merge or pull
    git reset –hard
  • Undo a commit locally and on the remote branch
    git reset –hard commit_id
    git push –force
  • Get remote url of a local branch
    git remote show origin

Source: https://git-scm.com




The Cloud is the future: The AWS Certified Solutions Architect – Associate Average salary is $149,446/year. Get Certified Now with the apps below:


AWS Cert Solution Architect Associate PRO: SAA-C02
AWS Cert Solution Architect Associate PRO: SAA-C02
  • AWS Cert Solution Architect Associate PRO: SAA-C02 Screenshot
  • AWS Cert Solution Architect Associate PRO: SAA-C02 Screenshot
  • AWS Cert Solution Architect Associate PRO: SAA-C02 Screenshot
  • AWS Cert Solution Architect Associate PRO: SAA-C02 Screenshot
  • AWS Cert Solution Architect Associate PRO: SAA-C02 Screenshot
  • AWS Cert Solution Architect Associate PRO: SAA-C02 Screenshot
  • AWS Cert Solution Architect Associate PRO: SAA-C02 Screenshot
  • AWS Cert Solution Architect Associate PRO: SAA-C02 Screenshot
  • AWS Cert Solution Architect Associate PRO: SAA-C02 Screenshot
  • AWS Cert Solution Architect Associate PRO: SAA-C02 Screenshot
  • AWS Cert Solution Architect Associate PRO: SAA-C02 Screenshot
  • AWS Cert Solution Architect Associate PRO: SAA-C02 Screenshot
  • AWS Cert Solution Architect Associate PRO: SAA-C02 Screenshot
  • AWS Cert Solution Architect Associate PRO: SAA-C02 Screenshot
  • AWS Cert Solution Architect Associate PRO: SAA-C02 Screenshot
  • AWS Cert Solution Architect Associate PRO: SAA-C02 Screenshot
  • AWS Cert Solution Architect Associate PRO: SAA-C02 Screenshot
  • AWS Cert Solution Architect Associate PRO: SAA-C02 Screenshot
  • AWS Cert Solution Architect Associate PRO: SAA-C02 Screenshot
  • AWS Cert Solution Architect Associate PRO: SAA-C02 Screenshot
  • AWS Cert Solution Architect Associate PRO: SAA-C02 Screenshot
  • AWS Cert Solution Architect Associate PRO: SAA-C02 Screenshot
  • AWS Cert Solution Architect Associate PRO: SAA-C02 Screenshot
  • AWS Cert Solution Architect Associate PRO: SAA-C02 Screenshot


Solution Architect PRO
Solution Architect PRO
Developer:
‪Etienne Noumen‬
Price:
$5.39

  • Solution Architect PRO Screenshot
  • Solution Architect PRO Screenshot
  • Solution Architect PRO Screenshot
  • Solution Architect PRO Screenshot
  • Solution Architect PRO Screenshot
  • Solution Architect PRO Screenshot



Unknown app
Unknown app
Developer:
Unknown
Price:
To be announced


AWS Certified Cloud Practitioner Mock Exams Pro
AWS Certified Cloud Practitioner Mock Exams Pro
Developer:
‪Etienne Noumen‬
Price:
$5.39

  • AWS Certified Cloud Practitioner Mock Exams Pro Screenshot
  • AWS Certified Cloud Practitioner Mock Exams Pro Screenshot
  • AWS Certified Cloud Practitioner Mock Exams Pro Screenshot
  • AWS Certified Cloud Practitioner Mock Exams Pro Screenshot
  • AWS Certified Cloud Practitioner Mock Exams Pro Screenshot
  • AWS Certified Cloud Practitioner Mock Exams Pro Screenshot
  • AWS Certified Cloud Practitioner Mock Exams Pro Screenshot
  • AWS Certified Cloud Practitioner Mock Exams Pro Screenshot
  • AWS Certified Cloud Practitioner Mock Exams Pro Screenshot
  • AWS Certified Cloud Practitioner Mock Exams Pro Screenshot




‎AWS Certified Developer A. PRO
‎AWS Certified Developer A. PRO
  • ‎AWS Certified Developer A. PRO Screenshot
  • ‎AWS Certified Developer A. PRO Screenshot
  • ‎AWS Certified Developer A. PRO Screenshot
  • ‎AWS Certified Developer A. PRO Screenshot
  • ‎AWS Certified Developer A. PRO Screenshot
  • ‎AWS Certified Developer A. PRO Screenshot
  • ‎AWS Certified Developer A. PRO Screenshot
  • ‎AWS Certified Developer A. PRO Screenshot
  • ‎AWS Certified Developer A. PRO Screenshot
  • ‎AWS Certified Developer A. PRO Screenshot
  • ‎AWS Certified Developer A. PRO Screenshot
  • ‎AWS Certified Developer A. PRO Screenshot
  • ‎AWS Certified Developer A. PRO Screenshot
  • ‎AWS Certified Developer A. PRO Screenshot
  • ‎AWS Certified Developer A. PRO Screenshot
  • ‎AWS Certified Developer A. PRO Screenshot
  • ‎AWS Certified Developer A. PRO Screenshot
  • ‎AWS Certified Developer A. PRO Screenshot


AWS Certified Developer Associate Exam Prep
AWS Certified Developer Associate Exam Prep
Developer:
‪Etienne Noumen‬
Price:
Free

  • AWS Certified Developer Associate Exam Prep Screenshot
  • AWS Certified Developer Associate Exam Prep Screenshot
  • AWS Certified Developer Associate Exam Prep Screenshot
  • AWS Certified Developer Associate Exam Prep Screenshot
  • AWS Certified Developer Associate Exam Prep Screenshot
  • AWS Certified Developer Associate Exam Prep Screenshot
  • AWS Certified Developer Associate Exam Prep Screenshot
  • AWS Certified Developer Associate Exam Prep Screenshot


Djamga PRO: Pick Up Games, Health and Fitness Calculator
Djamga PRO: Pick Up Games, Health and Fitness Calculator
Developer:
‪Etienne Noumen‬
Price:
$3.49

  • Djamga PRO: Pick Up Games, Health and Fitness Calculator Screenshot
  • Djamga PRO: Pick Up Games, Health and Fitness Calculator Screenshot
  • Djamga PRO: Pick Up Games, Health and Fitness Calculator Screenshot
  • Djamga PRO: Pick Up Games, Health and Fitness Calculator Screenshot
  • Djamga PRO: Pick Up Games, Health and Fitness Calculator Screenshot
  • Djamga PRO: Pick Up Games, Health and Fitness Calculator Screenshot
  • Djamga PRO: Pick Up Games, Health and Fitness Calculator Screenshot
  • Djamga PRO: Pick Up Games, Health and Fitness Calculator Screenshot


Get 20% off Google Workspace (including Google Meet) Business Plan (Americas): L9H4RENHLPH76FV
Get 20% off Google Google Workspace (including Google Meet) Standard Plan with the following codes: 96DRHDRA9J7GTN6
Contact us for more codes

taimienphi.vn