Skip to content

Instantly share code, notes, and snippets.

@Osse
Created November 25, 2012 16:13
Show Gist options
  • Save Osse/4144199 to your computer and use it in GitHub Desktop.
Save Osse/4144199 to your computer and use it in GitHub Desktop.
Terminal transcript
osse@osse-w760:~[master•]$ git status
# On branch master
# Your branch is ahead of 'origin/master' by 5 commits.
#
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: .gitconfig
# modified: .zfunctions/man
# modified: .zshrc
#
no changes added to commit (use "git add" and/or "git commit -a")
osse@osse-w760:~[master•]$ git add .zfunctions/man
The following paths are ignored by one of your .gitignore files:
.zfunctions
Use -f if you really want to add them.
fatal: no files added
osse@osse-w760:~[master•]$ git add -f .zfunctions/man
osse@osse-w760:~[master••]$ cat .git/info/exclude
# git ls-files --others --exclude-from=.git/info/exclude
# Lines that start with '#' are comments.
# For a project mostly in C, the following would be a good set of
# exclude patterns (uncomment them if you want to use them):
# *.[oa]
# *~
*
osse@osse-w760:~[master••]$ i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment