Giter Club home page Giter Club logo

gitflow's Introduction

gitflow

A page describing a git workflow for junior developers looking to keep their github updated with all their learning projects.

Quick Facts

Some basic Git commands are:

git status
git add
git commit

You can find lots of pretty inforgraphics for quick reference if you do an image search for "git commands cheat sheet"

import existing repository Create a new repository

Preparation

  • Open up your IDE
  • Open a project or create a new one
  • Make sure the project you have open has a .git folder in the root directory
  • Direct terminal to correct directory. (pwd to check current directory, cd <path> to change to project directory)

Flow

  • If existing project already on github AND local machine go to project root on local and run git pull <repo>.
  • In terminal run git status and read.
  • If git status returns showing no new files or commits, proceed to do work on project.
  • Save your work by using Ctrl + S.
  • Reach a stopping point in your work and run git status and read.
  • If git status returns showing no new files or commits, return to step 3.
  • If git status shows list of files run git add . to add all files.
  • (optional) git status again to see that your files have been added to the commit.
  • git commit -m "Describe changes and reasons for commit"
  • git push
  • Return to step 2.

gitflow's People

Contributors

stinja avatar

Watchers

 avatar

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.