Rephrasing Git : Easiest possible guide (part 2)

git add <file_name>
git add .
git commit -m "<your_commit_msg>"
Photo by Tim Mossholder on Unsplash
git push -u origin master
git push -u <remote_name> <branch_name>
git log
git status
git reset <copied_commit_hashValue>
eg: git reset 5db3258
git commit HEAD~<number_of_commits>
eg: git reset HEAD~3
git checkout .

--

--

--

Starter at CaffeTable| Writer at Faun| Developer | https://caffetable.com/

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Collisions

Away and beyond with Regular Expressions

Train to 🚅CKA

watch customer care number 7544076025//6289701565

Automatically add JIRA number to commit messages

Saber JSOL-SOL Liquidity Pool

Saving Data from an API to Rails Database

Hacking into a 20 year old TiVo — Part 3; Video and the TiVo Media File System

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Shailesh Kumar Sahu

Shailesh Kumar Sahu

Starter at CaffeTable| Writer at Faun| Developer | https://caffetable.com/

More from Medium

University Rating

University ranking

Elastic Beanstalk for Instant Development and Flask App Deployment.

DigitalOcean 403 Forbidden NGINX Error

Make Boomerang w/ single FFmpeg Command