Skip to content

Instantly share code, notes, and snippets.

On the git way

Shreyasi Katiyar shreyasikatiyar

On the git way
View GitHub Profile
mindplace /
Last active Oct 3, 2022
Pushing your first project to github

1. Make sure git is tracking your project locally

Do you need a refresher on git? Go through Codecademy's git course.

  1. Using your terminal/command line, get inside the folder where your project files are kept: cd /path/to/my/codebase. → You cannot do this simply by opening the folder normally, you must do this with the command line/terminal.
    → Do you need a refresher on using your command line/terminal? I've compiled my favorite resources here.

  2. Check if git is already initialized: git status