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
ย 
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
ย 
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
ย 
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!