Skip to content
sindhusinrPublic

About

vs practice codes

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

30 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Git Commands

git clone <repo>
git add .
git commit -m "Added new code"
git push -u origin main 

Check Remote Repository

git remote -v
git branch

To add remote repository

git remote add origin <repo>

Remove the old remote repository:

git remote remove origin

Pull Latest Changes

git pull origin main

Remove Changes

Discard all modified files:

git reset --hard HEAD

Remove untracked files:

git clean -fd

To add git ignore

New-Item .gitignore -ItemType File

About

vs practice codes

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages