You are on page 1of 1

$ dir

$ git init
$ git status
$ git add a.txt
$ git status
$ git add .
$ git status
$ git commit -m "initial commit"
$ git config --global user.email "****@gmail.com"
$ git config --global user.name "[username]"
$ git commit -m "initial commit"
$ git remote add origin https://github.com/[username]/Python.git
$ git push origin master //rejected
$ git clone https://github.com/[username]/Python.git
$ git push origin master -f

$ git init // ye wo folder hai jisy tumhen focus krna hai


$ git remote add origin https://github.com/[username]/Python.git//(link create kiya
hai (aik rasta bs)
$ git config --global user.name
$ git pull origin master // (rozana krny wala kam),why? sb k pass similar status
ajaye taky wahn se kam agy brha saken
$

You might also like