0% found this document useful (0 votes)
8 views1 page

Gitbash Working

The document provides instructions for pushing files to a GitHub account including initializing a local repository, adding files, committing changes, linking to a remote repository, and pushing files. It also includes commands for updating an existing repository and cloning an existing repository from a URL.

Uploaded by

Anand Choudhary
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views1 page

Gitbash Working

The document provides instructions for pushing files to a GitHub account including initializing a local repository, adding files, committing changes, linking to a remote repository, and pushing files. It also includes commands for updating an existing repository and cloning an existing repository from a URL.

Uploaded by

Anand Choudhary
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

to push files in github account

$ git init

$ git status

$ git add .

$ git commit -m "first commit"

$ git remote add origin https://github.com/Anand7Choudhary/task1.git

$ git push -u origin master

to update

$ git status

$ git add .

$ git commit -m "first commit"

$ git push

to push new files in the exsisting repository

$ git init

$ git status

$ git add .

$ git commit -m "first commit"

$ git push

to clone a reprository

$ git clone https://reprository link

You might also like