6 Git tricks that changed my life

Tip #1 Use a .git Config File

Tip # 2 How to pull down remote branch

git commit -a -m "adding my commmits for now"orgit stash
git fetch origingit branch -a              (Find name of branch you need)git checkout --track origin/<BRANCH_NAME>

Tip # 3 View Github.com like an IDE

Tip # 4 Create Hyperlinks for file states to prevent changes/deletions.

Tip # 5 Search for files by pressing “t” in a Repo

Tip #6 Create a Global .gitignore for yourself

touch ~/.gitignoregit config --global core.excludesfile ~/.gitignorevi ~/.gitignore

Wrap Up

--

--

--

Hi I work at AWS as a DevOps Consultant. Stay tuned for some wacky DevOps, bad python , and even worse golang.

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

Recommended from Medium

iOS — CI/CD and Build Number

AWS re:Invent 2019 Takeaways

How to Install the Python Environment for AI and Machine Learning on Linux

HTML META REDIRECT TAG — Most Underrated Yet Powerful

Potion Insurance: Black Scholes Model

Unix day 4: Careful when using grep

How to use AWS s3 bucket for zypper rpm repository.

How to Register WOW ROBOT (version 1.0)

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

Jonah Jones

Hi I work at AWS as a DevOps Consultant. Stay tuned for some wacky DevOps, bad python , and even worse golang.

More from Medium

git- fast-control-system

How to resolve build warning for obsolete methods (CS0612) in C

How to resolve build warning for obsolete methods (CS0612) in C

About basic Git commands