Skip to content

Instantly share code, notes, and snippets.

View NathanielGenwright's full-sized avatar

Nathaniel Genwright NathanielGenwright

  • Triad, NC (Greensboro, High Point, Winston Salem)
  • 01:39 (UTC -04:00)
  • X @imnateg
View GitHub Profile
@NathanielGenwright
NathanielGenwright / git-feature-workflow.md
Created March 30, 2024 13:29 — forked from blackfalcon/git-feature-workflow.md
Git basics - a general workflow

Git-workflow vs feature branching

When working with Git, there are two prevailing workflows are Git workflow and feature branches. IMHO, being more of a subscriber to continuous integration, I feel that the feature branch workflow is better suited, and the focus of this article.

If you are new to Git and Git-workflows, I suggest reading the atlassian.com Git Workflow article in addition to this as there is more detail there than presented here.

I admit, using Bash in the command line with the standard configuration leaves a bit to be desired when it comes to awareness of state. A tool that I suggest using follows these instructions on setting up GIT Bash autocompletion. This tool will assist you to better visualize the state of a branc

@NathanielGenwright
NathanielGenwright / bbb_boot_service_instructions.md
Created April 24, 2016 18:35 — forked from tstellanova/bbb_boot_service_instructions.md
How to setup a service to automatically run a python script when the BeagleBone Black (BBB) reboots. These instructions allow you to setup a python script to automatically start when the BeagleBone (running Angstrom linux with systemd) restarts.

Creating a service to startup at BeagleBone Black boot time:

  • Create a shell script such as /usr/bin/myFancyBash.sh:

      #!/bin/bash
    
      # this could be any runnable code or shell script, really
      /usr/bin/myFancyPython.py 
    

Note that the first line is critical.