git basic command tutorial 1

git basic command tutorial

#Initialize Repo
cd my_awesome_project
git init
#NOTE:you need to setup your global (--global) or project user
git config --global POG
git config --global
#Create a and .gitignore file then stage all changes
git add .
#Commit them
git commit -m "Create REAME and gitignore"

Here is what the above code is Doing:
1. Create a new directory for your project
2. Initialize a new git repository
3. Create a file
4. Create a .gitignore file
5. Stage all changes
6. Commit the changes

Similar Posts