Ravi Kumar Profile picture
Jul 14, 2021 β€’ 9 tweets β€’ 4 min read β€’ Read on X
Github command that you should definitely know

πŸ§΅πŸ§΅πŸ‘‡πŸ‘‡
01. Git config

this command is used to set up a name or email that is associated with your GitHub account and link-local machine to Github.

syntax :
git config –-global user.name β€œ[name]”
git config -–global user.email β€œ[email address]”

πŸ‘‡πŸ‘‡
02. Git Init & GIt add

cd // used to change directory

git init [repository name] // used to initalisize your repository

git add [file] // used to add your repo into a staging area

git add . // used to add all files
03. Git commit

git commit -m β€œ[ Type in the commit message]”

// used to add commit your changes into a staging area like file addition, deletion, etc.
04. Git log & Git status

git log //used to check the history of the current branch

git status // used to see the list of files that have to be committed
05. Git branch

git branch // used to list all branches

git branch [branch name] // used to create branch

git branch -d [branch name] // used to delete branch

git checkout [branch name] // used to switch from one branch to other

git merge [branch ] // merge branches
06. Git remote

git remote add [variable name ] [Remote Server Link]

// used to connect local repository to a remote server
07. Git push & Git pull

git push [variable name] master

// used to send the local commit to the remote repository

git pull [Repository Link]

// used to fetch servers commit to local commit.
if you found this thread useful like and retweet the full thread so it helps others also.

πŸ‘‡πŸ‘‡

β€’ β€’ β€’

Missing some Tweet in this thread? You can try to force a refresh
γ€€

Keep Current with Ravi Kumar

Ravi Kumar Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @ravikmmr

Aug 9, 2023
Top 10 VS Code Extension to Increase 10x Productivity (Free):

⬇️ Image
(1/10) Path Intellisense

β€” This Extension autocompletes the file names. Like tags in HTML, it autocompletes the tags. Image
(2/10) Live Server

β€” This Extension allows you to launch your local projects with a live reload on the browser so you don't have to constantly refresh after changes. Image
Read 12 tweets
Aug 3, 2023
Free Public APIs for Developers:

🧡 Image
1⃣ OpenWeather

πŸ”— https://t.co/BMtII438OIopenweathermap.org/api
Image
2⃣ The NASA APIs

πŸ”— https://t.co/fseHAkgWssapi.nasa.gov
Image
Read 10 tweets
Jun 6, 2023
Best Responsive Web Design Practices you should follow (save or bookmark it): Image
1/ Set The Viewport

<meta name="viewport" content="width=device-width, initial-scale=1.0"> Image
2/ Use media queries

This CSS property has a feature to enable your webpage content to adapt to different screen sizes. Image
Read 9 tweets
Jun 5, 2023
Want to Improve CSS try these Resources (Free): Source:  https://res.cloudi...
1/ CSS Tricks

πŸ”—css-tricks.com Image
2/ CSS Author.

πŸ”—cssauthor.com Image
Read 12 tweets
May 29, 2023
Top GitHub Repository you should definitely check out as a web developer (thread): Image
1/ Developer-roadmap

If you want to start your career in web development but don't know where to start then check out this repository you get all the details about web development.

πŸ”—github.com/kamranahmedse/… Image
2/ FreeCodeCamp

It is a friendly community where you can learn to code for free. It has also a huge resource of video lectures or courses for a web developer.

πŸ”—github.com/freeCodeCamp/f… Image
Read 12 tweets
May 28, 2023
Top 10 VS Code Extension to Increase 10x Productivity (Free):

⬇️ Image
1/ Path Intellisense

β€” This Extension autocompletes the file names. Like tags in HTML, it autocompletes the tags Image
2/ Live Server

β€” This Extension allows you to launch your local projects with a live reload on the browser so you don't have to constantly refresh after changes. Image
Read 12 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(