reading-notes

Think you might be in the wrong place? Go home!

Git

Git is an extremely useful and essential tool for version control and collaborative software development.

What is Version Control?

System for tracking changes in files, code, and documentation over time.

What is cloning in Git?

Copying a remote Git repository to your local machine using git clone.

What is the command to track and stage files?

git add filename or git add . to stage changes for commit.

What is the command to take a snapshot of your changed files?

git commit -m “Your commit message here” to commit staged changes.

What is the command to send your changed files to Github?

git push -u origin master to push changes to a remote repository, assuming you’ve set up a remote named “origin.”

Information gathered using ChatGPT