DEV Community

Cover image for I've Forked The Repo, Now What?

I've Forked The Repo, Now What?

Jack Harner πŸš€ on November 04, 2019

Syncing Your Repo With the Upstream Repo Originally posted on JackHarner.com So, you want to make some changes to an Open Source Repo? ...
Collapse
 
ltosh9802 profile image
Toshik Langade

I'm a beginner and I'm wondering is there any need to learn git? With Github Desktop we can do basic things very easily without remembering those syntaxes. Should I learn git or not? What are your thoughts?

Collapse
 
tkdmzq profile image
TKDMzq

sometimes you dont have luxury of desktop version of git it is usualy there + it acustomes you to terminal witch you use very often for many things i.e. working on remote production server

Collapse
 
ltosh9802 profile image
Toshik Langade

Yeah you're right. Alright, thanks! :)

Collapse
 
jackharner profile image
Jack Harner πŸš€

Personally, learning git in the command line was a very helpful introduction to using the command line. When I was first learning git, GitHub Desktop was still pretty new and all the tutorials I could find about git practices were just using the command line. I'm sure the landscape has changed in the past few years as GitHub Desktop keeps getting improved, but being familiar with the command line expands the amount of stuff you can do (outside of git).

Obviously don't let the fear of the command line keep you from making stuff, use whatever works for you. There's plenty of time for learning the rest later (if you want to).

Collapse
 
ltosh9802 profile image
Toshik Langade

Yeah I think I should learn the basics. Thanks for the advice :)

Collapse
 
dirtycode1337 profile image
Dirty-Co.de

Personally I'd recommend learning git at command line level - at least some basics, they helped me a lot understanding git. I've seen many helpful hints from the command line which I wouldn't have seen when using a GUI.
Additionally I got a little fan of SourceTree when I started using GitFlow then :) - so I am now combining command line and GUI ;)

Collapse
 
ltosh9802 profile image
Toshik Langade

Oh! That's nice. Thanks :)

Collapse
 
tiguchi profile image
Thomas Werner

Man... I watched way too much "The Good Place". For a second I thought you forked up your repo!

Holy forking shirt

Collapse
 
jackharner profile image
Jack Harner πŸš€

I have forked up many a repo in my day for sure!

Collapse
 
necrogami profile image
Anton C. Swartz IV

gist.github.com/EvanDotPro/1506822

This is the shell script i've used for years to easily manage that. Add it to your .bashrc or somewhere in your source collection for bash and then do gittyup for a given repo and it just runs.

Collapse
 
varunbarad profile image
Varun Barad

I wrote on the exact same concept a few weeks back. But your article is much more nicely written than mine.
Thanks for writing this πŸ‘¨β€πŸ’»

Collapse
 
jackharner profile image
Jack Harner πŸš€

Thanks for your kind words!