Skip to content

Instantly share code, notes, and snippets.

@tsaber
tsaber / gist:d8e48f33fffd45f0e4449e5cc38a32cd
Created Jan 16, 2019 — forked from jagregory/gist:710671
How to move to a fork after cloning
View gist:d8e48f33fffd45f0e4449e5cc38a32cd
So you've cloned somebody's repo from github, but now you want to fork it and contribute back. Never fear!
Technically, when you fork "origin" should be your fork and "upstream" should be the project you forked; however, if you're willing to break this convention then it's easy.
* Off the top of my head *
1. Fork their repo on Github
2. In your local, add a new remote to your fork; then fetch it, and push your changes up to it
git remote add my-fork git@github...my-fork.git
View dere
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Haswell Mobile
OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.2.3
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 18.2.3
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
View gist:4913f5e6fce6534b8f5a760df598a520
OpenGL vendor string: Intel Open Source Technology Center OpenGL renderer string: Mesa DRI Intel(R) Haswell Mobile OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.2.3 OpenGL core profile shading language version string: 4.50 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL core profile extensions: OpenGL version string: 3.0 Mesa 18.2.3 OpenGL shading language version string: 1.30 OpenGL context flags: (none) OpenGL extensions: OpenGL ES profile version string: OpenGL ES 3.1 Mesa 18.2.3 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10 OpenGL ES profile extensions: OpenGL vendor string: Intel Open Source Technology Center OpenGL renderer string: Mesa DRI Intel(R) Haswell Mobile x86/MMX/SSE2 OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.2.3 OpenGL core profile shading language version string: 4.50 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL core profile exte
View gist:dfc7a4875adb161e05a3ab9e0b9d606b
Last login: Fri Sep 14 03:06:27 2018 from 86.93.43.117
OpenSSH_7.8p1, OpenSSL 1.1.0i 14 Aug 2018
debug1: Reading configuration data /home/zava/.ssh/config
debug1: /home/zava/.ssh/config line 38: Applying options for dda
debug1: Reading configuration data /etc/ssh/ssh_config
debug2: resolving "watchcdda.us" port 56
debug2: ssh_connect_direct
debug1: Connecting to watchcdda.us [174.138.84.17] port 56.
debug1: Connection established.
debug1: identity file /home/zava/.ssh/catercac type 3
View gist:4a6f095c46d9634f1f43066a49d85333
Last login: Fri Sep 14 03:06:27 2018 from 86.93.43.117
OpenSSH_7.8p1, OpenSSL 1.1.0i 14 Aug 2018
debug1: Reading configuration data /home/zava/.ssh/config
debug1: /home/zava/.ssh/config line 38: Applying options for dda
debug1: Reading configuration data /etc/ssh/ssh_config
debug2: resolving "watchcdda.us" port 56
debug2: ssh_connect_direct
debug1: Connecting to watchcdda.us [174.138.84.17] port 56.
debug1: Connection established.
debug1: identity file /home/zava/.ssh/catercac type 3
View gist:bc39fa1eb6555331290bb5838646e902
aplay: device_list:272: no soundcards found...
null Discard all samples (playback) or generate zero samples (capture) pulse PulseAudio Sound Server default Default ALSA Output (currently PulseAudio Sound Server)
zava 2634 0.0 0.1 793312 9664 ? S<sl 16:46 0:00 /usr/bin/pulseaud zava 2635 0.0 0.0 204548 6628 ? Sl 16:46 0:00 /usr/lib/pulse/gs
Module #0 Name: module-device-restore Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Automatically restore the volume/mute state of devices" module.version = "12.2" Module #1 Name: module-stream-restore Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Automatically restore the volume/mute/device state of streams" module.version = "12.2" Module #2 Name: module-card-restore Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Automatically restore
View gist:60a0a26dd1fb4bc2e41fb52dd2034530
00:00.0 Host bridge: Intel Corporation Crystal Well DRAM Controller (rev 08)
00:02.0 VGA compatible controller: Intel Corporation Crystal Well Integrated Graphics Controller (rev 08)
00:03.0 Audio device: Intel Corporation Crystal Well HD Audio Controller (rev 08)
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05)
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I217-V (rev 05)
00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d5)
00:1c.1 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #2 (rev d5)
View gist:b53d745d19fe239b085887f8aec3c4af
screen: /lib/x86_64-linux-gnu/libtinfo.so.5: no version information available (required by screen)
Connection to watchcdda.us closed.
(zava-A6ToaVuX) s/v/z/bin