Skip to content

M0NKEYFISH/recipe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

recipe

Commands and how to do's

1) Git

  • git clone link-repository: cloning locally (your machine) cloud repository;
  • git status: showing the modified files;
  • git add: adding modified files to the staged changes;
  • git commit -m "YOUR_MESSAGE": saving/committing your changes locally;
  • git diff: seeing changes from modified files

1.1) How to save/commit new changes and push them on the Cloud (using the terminal)

note: you can also use VS Code to use a friendly interface. You can see how to do it clicking here.

  1. git status (To see the modified files - on red)
  2. git add FILE_NAME (To add file to the staged changes. Remember to change FILE_NAME with the name of the file you have changed.)
  3. git status (To see the modified files on staged changes - on green)
  4. git commit -m "YOUR_MESSAGE" (To save/commit your changes locally. Remember to change YOUR_MESSAGE with the message that you wanna save with those changes.)
  5. git pull origin main (To update your machine with changes from cloud - not required)
  6. git push origin main (To update the cloud code (which it on GitHub))

Congrats! test 654321

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages