Site Map - skip to main content - dyslexic font - mobile - text - print

Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes Monday through Friday.


The passing of FiftyOneFifty

It is with deep sadness we announce that another of our hosts and friends Donald Grier, known to us as FiftyOneFifty, has passed away.

FiftyOneFifty's frat brother Randy Hall has written an lovely piece. The team at Linuxlugcast are preparing our own tribute if you want to contribute an audio file you can email Honkeymagoo or join the show.

Our thoughts go out to his friends and family at this difficult time.


hpr2516 :: Intro to git branch

Intro to git branch

<< First, < Previous, Latest >>

Hosted by klaatu on 2018-03-26 is flagged as Clean and is released under a CC-BY-SA license.
Tags: git, branch, server.
Listen in ogg, spx, or mp3 format. | Comments (1)

Part of the series: Introduction to Git

Initiated by Klaatu, this open series introduces Git and the concepts behind its use in a collaborative environment.

These are all the commands covered in this episode. This is not a sequence, it's just all the commands in the episode, listed one after another.

Get changes from the remote repo:


$ git fetch

See all branches:


$ git branch --all

View a remote branch after you have fetched it:


$ git checkout origin/dev

Create a copy of a fetched remote branch in your local repo:


$ git checkout dev

Merge changes from remote origin/master into your local master branch:


$ git merge master origin/master

Fetch and merge automatically:


$ git pull

Create a new branch, and change to it:


$ git checkout -b dev

Merge dev into master:


$ git checkout master
$ git merge master dev

Merge master into dev


$ git checkout dev
$ git merge dev master

Delete the dev branch:


$ git branch -d dev

Comments

Subscribe to the comments RSS feed.

Comment #1 posted on 2018-03-27T01:17:50Z by Mike Ray

Intro to git

Great podcast.

I've been using git for a few years now but there is something new even for a seasoned git user in this series.

It's a subject that needs clarity, because a lot of the online stuff about git is complex and confusing.

More please. And more about this kind of DevOps related stuff, and more server config and admin

<< First, < Previous, Latest >>

Leave Comment

Note to Verbose Commenters
If you can't fit everything you want to say in the comment below then you really should record a response show instead.

Note to Spammers
All comments are moderated. All links are checked by humans. We strip out all html. Feel free to record a show about yourself, or your industry, or any other topic we may find interesting. We also check shows for spam :).

Provide feedback
Your Name/Handle:
Title:
Comment:
Anti Spam Question: What does the P in HPR stand for ?
Are you a spammer →
Who hosted this show →
What does HPR mean to you ?