GithubHelp home page GithubHelp logo

intermediate-april-2015's Introduction

A demo repo for our April Intermediate class.

Structure

The outline and much of the material for this course lives here.

References

Show Current Branch in Terminal Prompt

terminal-prompt

To get the pictured behavior, add these lines to your ~/.bashrc file:

# show current git branch in prompt
parse_git_branch() {
  git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
}
export PS1="\w\[\033[36m\]\$(parse_git_branch) \[\033[00m\] > "

intermediate-april-2015's People

Contributors

crichid avatar githubteacher avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

intermediate-april-2015's Issues

Collecting handles

Please submit a comment in this issue, so that we can collect your handles and make everyone a collaborator. Thanks!

Audio

If you are having audio troubles, please let us know by posting in this issue. Thanks!

Git Workflow

It would be nice to have you explain the standard git workflow and walk through it for a project rather than explain what each flag does. In my personal opinion, the flags can be viewed by a user upon issuing the --help command.

Could you please focus a bit more on the reason for performing the steps in the workflow a certain way rather than just doing them and explaining the commands instead?

Path vs non-Path versions of commit and reset

I think it's helpful to mention that checkout with a path is arguably a different command than checkout without a path; ditto reset. I think the interfaces to those commands are some of the most confusing aspects of the CLI to new users.

Also, I found this blog entry (by Scott Chacon?) helpful when thinking about reset; perhaps it would be useful to others to point to it:

http://git-scm.com/blog/2011/07/11/reset.html

new repo

Can you please repeat licence and new repo steps? I didnt create second repo because of lic issue.

Git log hash length

As the repository gets bigger and bigger, does the 7 char hash from --oneline automatically go to 8, 9, etc to uniquely identify commits?

Git config commands not working

I can config my user email and name, but some of the other commands are not working (Windows):
For example:
C:\Users\DanB\Documents\GitHub> git config color.ui auto
error: could not lock config file .git/config: No such file or directory

What have I done wrong?

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.