# Using Git Code (on the github)

**URL:** https://discourse.cataclysmdda.org/t/using-git-code-on-the-github/11983
**Category:** The Garage
**Created:** [June 3, 2016, 3:38pm UTC](https://discourse.cataclysmdda.org/t/using-git-code-on-the-github/11983 "2016-06-03T15:38:47Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![pisskop](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/pisskop/32/1327_2.png) [@pisskop](https://discourse.cataclysmdda.org/u/pisskop)
#### Post date: [June 3, 2016, 3:38pm UTC](https://discourse.cataclysmdda.org/t/using-git-code-on-the-github/11983/1 "2016-06-03T15:38:47Z")

</div>

How does one do this?

Ive given the good old college try or three, but Im not figuring out how to rebase things or delete branches or any of those nifty internal maintainance things I occassionally see.

I figure I can ask here so that should I get an answer it will be documented here.

pedit: I mean where can/do I input this code? Im seeing only 1 viable location, the ‘create a new branch/switch a branch’ area in my own fork.

---

<div class="post-metadata">

### Author: ![jcd](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/jcd/32/338_2.png) [@jcd](https://discourse.cataclysmdda.org/u/jcd)
#### Post date: [June 3, 2016, 5:15pm UTC](https://discourse.cataclysmdda.org/t/using-git-code-on-the-github/11983/2 "2016-06-03T17:15:10Z")

</div>

Start [here](http://smf.cataclysmdda.com/index.php?topic=1063.0). You may also look [here](http://github.com/help).  
I don’t think you can (or want to) do too much on the github web app, better use a local client.

---

<div class="post-metadata">

### Author: ![pisskop](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/pisskop/32/1327_2.png) [@pisskop](https://discourse.cataclysmdda.org/u/pisskop)
#### Post date: [June 3, 2016, 5:31pm UTC](https://discourse.cataclysmdda.org/t/using-git-code-on-the-github/11983/3 "2016-06-03T17:31:06Z")

</div>

ofc I need more things and get more formal :{

thanks o/

---

<div class="post-metadata">

### Author: ![BorkBorkGoesTheCode](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/borkborkgoesthecode/32/2343_2.png) [@BorkBorkGoesTheCode](https://discourse.cataclysmdda.org/u/BorkBorkGoesTheCode)
#### Post date: [June 3, 2016, 7:19pm UTC](https://discourse.cataclysmdda.org/t/using-git-code-on-the-github/11983/4 "2016-06-03T19:19:54Z")

</div>

Do you have GitHub Desktop? It comes with a command line that you can use to rebase.

---

<div class="post-metadata">

### Author: ![pisskop](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/pisskop/32/1327_2.png) [@pisskop](https://discourse.cataclysmdda.org/u/pisskop)
#### Post date: [June 3, 2016, 9:25pm UTC](https://discourse.cataclysmdda.org/t/using-git-code-on-the-github/11983/5 "2016-06-03T21:25:53Z")

</div>

aye. Now I do, at least.

Im learning all this blind, so its somewhat frustrating. But Ill manage. Im a smart enough cookie and all that jazz.

---

<div class="post-metadata">

### Author: ![BorkBorkGoesTheCode](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/borkborkgoesthecode/32/2343_2.png) [@BorkBorkGoesTheCode](https://discourse.cataclysmdda.org/u/BorkBorkGoesTheCode)
#### Post date: [June 3, 2016, 9:50pm UTC](https://discourse.cataclysmdda.org/t/using-git-code-on-the-github/11983/6 "2016-06-03T21:50:18Z")

</div>

I learned rebase by reading this:

> **[Git Rebase for Dummies](https://sellarafaeli.wordpress.com/2014/01/16/git-rebase-for-dummies/)**
>
> In the following post I will go over how and why to use git rebase instead of git merge, even if you don’t completely understand how and what rebasing does. We will try to explain in layman&#…

---

<div class="post-metadata">

### Author: ![BorkBorkGoesTheCode](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/borkborkgoesthecode/32/2343_2.png) [@BorkBorkGoesTheCode](https://discourse.cataclysmdda.org/u/BorkBorkGoesTheCode)
#### Post date: [June 3, 2016, 9:51pm UTC](https://discourse.cataclysmdda.org/t/using-git-code-on-the-github/11983/7 "2016-06-03T21:51:28Z")

</div>

If you want some more advanced help, i2amroy may help you.

---

<div class="post-metadata">

### Author: ![BorkBorkGoesTheCode](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/borkborkgoesthecode/32/2343_2.png) [@BorkBorkGoesTheCode](https://discourse.cataclysmdda.org/u/BorkBorkGoesTheCode)
#### Post date: [June 3, 2016, 10:29pm UTC](https://discourse.cataclysmdda.org/t/using-git-code-on-the-github/11983/8 "2016-06-03T22:29:51Z")

</div>

When I asked i2amroy for help figuring out rebase, i2amroy gave me a link to the git-scm website:[https://git-scm.com/docs/git-rebase#\_interactive\_mode](https://git-scm.com/docs/git-rebase#_interactive_mode) I was too stupid and sleep deprived to figure out his advice that day. i2amroy, thank you for taking the time to help me.

---

<div class="post-metadata">

### Author: ![pisskop](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/pisskop/32/1327_2.png) [@pisskop](https://discourse.cataclysmdda.org/u/pisskop)
#### Post date: [June 3, 2016, 10:30pm UTC](https://discourse.cataclysmdda.org/t/using-git-code-on-the-github/11983/9 "2016-06-03T22:30:15Z")

</div>

lol 🙂

Theyre good people.

The git shell error messages are pretty helpful too.

---

<div class="post-metadata">

### Author: ![BorkBorkGoesTheCode](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/borkborkgoesthecode/32/2343_2.png) [@BorkBorkGoesTheCode](https://discourse.cataclysmdda.org/u/BorkBorkGoesTheCode)
#### Post date: [June 3, 2016, 10:37pm UTC](https://discourse.cataclysmdda.org/t/using-git-code-on-the-github/11983/10 "2016-06-03T22:37:41Z")

</div>

They are good people. He also gave me a step by step walkthrough.
