git config --global user.name "vishwajeeta"
git config --global user.email "vishwajeetvishwa4@gmail.com"
//create and initialise an empty repositery
git init
//to add all the files to the repositary
git add .
//to add commit the message
git commit -m "my first project"
//connect local repositary to internet reposartry
git remote add origin https://github.com/vishwajeeta/django_projects.git
//to push project to the git repositary
git push -u origin main
//to check any thing had changed on file
git status
//to add it changes on githup
git add .
//add the message to changes
git commit -m "added break line"
//to upload the changes
git push -u origin main
or
git push
Comments
Post a Comment