Skip to content

Instantly share code, notes, and snippets.

/test.sh Secret

Created December 1, 2013 06:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/01979fd9e6e285df41a2 to your computer and use it in GitHub Desktop.
Save anonymous/01979fd9e6e285df41a2 to your computer and use it in GitHub Desktop.
$ mkdir test
$ cd test
total 0
$ git init
Initialized empty Git repository in /home/ingy/test/.git/
$ mv .git .foo
$ export GIT_DIR=$PWD/.foo
$ git status
# On branch master
#
# Initial commit
#
# Untracked files:
# .foo/
nothing added to commit but untracked files present
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment