0% found this document useful (0 votes)
3 views

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
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

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
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