Skip to content

NewHellequin/CheatSheets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

CheatSheets

Cheat Sheet for everything I need to cheat on

// Linking VSCode to GitHub Repo //

  • git remote add origin

// Git process for Visual Code Studio: Making commits through the terminal //

// Committing code to Repo //

{make required changes in code}

{ctrl + ' to open terminal}

  • git init (for initial commits)
  • git add -A
  • git commit -m '{message - initial commit / additional of / change to}'
  • git push origin master {or desired branch}

// Reviewing previous commits //

  • git log

// Resetting to previous commit version //

  • git reset --hard {commit code ID}

// Branches //

  • git branch
  • git branch {name of new branch}
  • git checkout {name of branch moving to}
  • (While in consuming branch) git merge {name of branch to be merged}

// Useful other commands //

  • git status

About

Cheat Sheet for everything I need to cheat on

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published