Skip to main content

Git Commands

 git status



................or clone from github


git clone <URL>




.................or create a new repository on the command line



echo "# react" >> README.md

git init

git add README.md

git add .                // to add all 

git commit -m "first commit"

git branch -M main

git remote add origin https://github.com/flyingsonu122/react.git

git push -u origin main


...................or push an existing repository from the command line


git remote add origin https://github.com/flyingsonu122/react.git

git branch -M main

git push -u origin main




git remote -v


git checkout -b patch-1


git remote add upstream https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git


git pull https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git BRANCH_NAME









Popular posts from this blog

Tarana - Music Player

Tarana  is a music player that offers features such as shuffle, song sharing, themed playlists, a variety of genres, search, and filters. video Live Demo on iamsonukushwaha.github.io/tarana Code here github.com/iamsonukushwaha/tarana

cool projects

Sonu Kumar Kushwaha has created several impressive projects, showcasing his creativity and technical prowess.  

Be a Flamingo In a Flock of Pigeons

                        To decipher the meaning of this saying, we need to start at the beginning. Flamingos are beautiful pink birds with unusual pink colored feathers. They are also unique for their “standing on one leg” pose, which no one knows for sure what it serves for. These birds can be found on almost every continent, but their uniqueness makes them a special experience for everyone lucky enough to see them in the wild. They live in large flocks and are very social birds. Because of these traits and their uniqueness, they are considered a rare and unusual appearance. On the other hand, pigeons are widely spread birds, as well, but they are a way more common sig...