Giter Site home page Giter Site logo

manasdalai / git-started-workshop Goto Github PK

View Code? Open in Web Editor NEW

This project forked from andrewsouthpaw/git-started-workshop

0.0 1.0 0.0 71 KB

A workshop to learn the beginner and intermediate features of git.

License: GNU General Public License v3.0

Shell 100.00%

git-started-workshop's Introduction

git-started-workshop

A workshop to learn the beginner and intermediate features of git.

Lunch Retro

Slides

Download here.

Tools for generating commits

Eventually you'll want to be able to quickly generate commits. When that time comes, these tools can be handy.

Just copy each line individually and paste them into your shell.

git config --global alias.commitrand '!f() { echo asdf$1 > $1.txt && git add . && git commit -m "Add $1.txt."; }; f'

Sample usage:

$ git commitrand 3  # creates a file 3.txt and creates a commit
                    # with commit message "Add 3.txt."

Better bash prompt

Download .bash_prompt and move it to your ~ directory (these directions will clobber your old bash prompt):

$ cd ~
$ mv .bash_prompt .bash_prompt.bak # if you have a current bash_prompt you want to
                                   # save, typically you don't if you're new to bash
$ git clone https://github.com/AndrewSouthpaw/git-started-workshop.git
$ cd git-started-workshop
$ cp .bash_prompt ~/.bash_prompt

Open up a new bash shell and voilá. This is adapted from a particularly famous dotfile, tweaked so you don't need to download other customizations upon which the original dotfile depends.

git-started-workshop's People

Contributors

andrewsouthpaw avatar pinglashukla avatar

Watchers

James Cloos 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.