Code Monkey home page Code Monkey logo

my-workflow-for-solo-github-work's Introduction

My workflow for solo Github work

Create Branch from another repo

Clone your branch you just made from your repos

  • cd into directory you want to clone the repo into
  • git clone
  • cd
  • git status

Create local working branch from local master branch

  • git branch (creating a local branch)
  • git status (will still be in master)
  • git checkout
  • git status (now in the branch that was just made)

Change some stuff in a file in the branch

  • git status (shows what isnt in the staging area to be committed)

  • git add

  • git status (shows file is now staged to be committed)

  • git commit -m "comment for your commit" (commits the file(s))

  • git log (lists history of commits)

files are now committed to out local branch we created

Pushing from our working local branch to our repo origin

  • git push -u origin (pushed our local branch to the origin)

on github.com: open a pull request for what we just pushed up (this is where people could comment and colab on what you pushed up)

merge pull request

  • git checkout master

  • git pull (pulls any new changes for master)

  • Misc.

  • git add . (adds all files in local repo to be committed, also will add the folders within repo respectively)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.